diff options
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 46ea90fa3a..8750ca91a0 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1500,7 +1500,7 @@ function validate_password($password) { foreach ($chars as $char) { - if (!mb_ereg_match($char, $password)) + if (mb_ereg($char, $password) === false) { return 'INVALID_CHARS'; } |