1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@7885 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-07-14 15:48:54 +00:00
parent 3585dbd42c
commit 5a921c344d
2 changed files with 2 additions and 1 deletions

View File

@@ -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';
}