diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-31 17:55:55 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-31 17:55:55 +0000 |
commit | 0e96aa60c2cf94e72434f9ab91de70a3a0848ae8 (patch) | |
tree | 8f55472dca10c55a064c544422cf0b898e0cf7c3 /phpBB/includes/functions_user.php | |
parent | 18ccaf44831f9c18d8cf74ea280ea31d36cc8bac (diff) | |
download | forums-0e96aa60c2cf94e72434f9ab91de70a3a0848ae8.tar forums-0e96aa60c2cf94e72434f9ab91de70a3a0848ae8.tar.gz forums-0e96aa60c2cf94e72434f9ab91de70a3a0848ae8.tar.bz2 forums-0e96aa60c2cf94e72434f9ab91de70a3a0848ae8.tar.xz forums-0e96aa60c2cf94e72434f9ab91de70a3a0848ae8.zip |
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
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index b5c128cf46..d8616db231 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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'; } |