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

@ -234,6 +234,7 @@ p a {
<li>[Feature] Show resulting permission alone in trace window (Bug #10953) - thanks to dark/rain for the proposal</li>
<li>[Fix] Fixed bug in realpath replacement letting it actually work again</li>
<li>[Change] Try to be a bit more specific regarding global/local permission trace (Bug #11032)</li>
<li>[Fix] Fixed some strangeness in password validation due to mb_ereg()</li>
</ul>

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