mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 13:00:26 +02:00
Fixing a few things for postgres. Thanks to wagnerch for researching the issue and providing a patch.
#12587 git-svn-id: file:///svn/phpbb/trunk@7787 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2206,7 +2206,7 @@ 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 '" . $db->sql_escape('m\_') . "%'" .
|
||||
(($db->sql_layer == 'mssql' || $db->sql_layer == 'mssql_odbc') ? " ESCAPE '\\'" : ''),
|
||||
));
|
||||
$result = $db->sql_query($sql);
|
||||
|
Reference in New Issue
Block a user