aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-12 15:10:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-12 15:10:43 +0000
commitf5cabf864c7bf29f5415a1ed315dc08b35f759c2 (patch)
tree95d5b785cdf2fd71096a21b91efef58068bcc161 /phpBB/includes/functions_admin.php
parentef71892edd1bb6b4e06fa207172ba8a3ee5f40b3 (diff)
downloadforums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.gz
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.bz2
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.tar.xz
forums-f5cabf864c7bf29f5415a1ed315dc08b35f759c2.zip
bugfixes
git-svn-id: file:///svn/phpbb/trunk@6275 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 3b039d110d..8e8604197e 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1980,7 +1980,8 @@ function cache_moderators()
AND a.group_id = ug.group_id
AND ' . $db->sql_in_set('ug.user_id', $ug_id_ary) . "
AND ug.user_pending = 0
- AND o.auth_option LIKE 'm\_%'",
+ AND o.auth_option LIKE 'm\_%'" .
+ ((SQL_LAYER == 'mssql' || SQL_LAYER == 'mssql_odbc') ? " ESCAPE '\\'" : ''),
));
$result = $db->sql_query($sql);