aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-05-21 17:50:12 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-05-21 17:50:12 +0000
commitc7853e2a4e5782309d9da0db3a890233a8684389 (patch)
tree4d41c3dc5ff34d8f7e01b02479f5e6be1946c0d0 /phpBB/includes/cache.php
parent93c91c4a91bebc81424b5a4244f7129ab119c6c9 (diff)
downloadforums-c7853e2a4e5782309d9da0db3a890233a8684389.tar
forums-c7853e2a4e5782309d9da0db3a890233a8684389.tar.gz
forums-c7853e2a4e5782309d9da0db3a890233a8684389.tar.bz2
forums-c7853e2a4e5782309d9da0db3a890233a8684389.tar.xz
forums-c7853e2a4e5782309d9da0db3a890233a8684389.zip
Better this way :D
git-svn-id: file:///svn/phpbb/trunk@7660 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/cache.php')
-rw-r--r--phpBB/includes/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php
index 1f22d60a7f..d021aac507 100644
--- a/phpBB/includes/cache.php
+++ b/phpBB/includes/cache.php
@@ -394,7 +394,7 @@ class cache extends acm
$usernames = array();
while ($row = $db->sql_fetchrow($result))
{
- $usernames[] = utf8_clean_string(str_replace('%', '.*?', preg_quote($row['disallow_username'], '$#')));
+ $usernames[] = str_replace('%', '.*?', preg_quote(utf8_clean_string($row['disallow_username']), '#'));
}
$db->sql_freeresult($result);