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:
parent
18ccaf4483
commit
0e96aa60c2
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user