1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-13 12:35:06 +01:00

Well, at least the little prat @ area51 led to a bug fix ...

git-svn-id: file:///svn/phpbb/trunk@4069 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-05-31 17:55:55 +00:00
parent 18ccaf4483
commit 0e96aa60c2

View File

@ -277,7 +277,7 @@ class ucp extends user
while ($row = $db->sql_fetchrow($result))
{
if (preg_match('#(' . str_replace('\*', '.*?', preg_quote($row['disallow_username'], '#')) . ')#i', $username))
if (preg_match('#' . str_replace('*', '.*?', preg_quote($row['disallow_username'], '#')) . '#i', $username))
{
return 'USERNAME_DISALLOWED';
}