mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class ucp extends user
|
||||||
|
|
||||||
while ($row = $db->sql_fetchrow($result))
|
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';
|
return 'USERNAME_DISALLOWED';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue