aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-09 12:57:15 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-09 12:57:15 +0000
commit7cbf74bfcafc5bb6b7971a9b06e24c248cce9120 (patch)
tree1e0d522dc762d22ec4806683160360feac84524b /phpBB/includes/functions_admin.php
parent8f0d7bf823487e7550b9c3905bc7d1713ac1b859 (diff)
downloadforums-7cbf74bfcafc5bb6b7971a9b06e24c248cce9120.tar
forums-7cbf74bfcafc5bb6b7971a9b06e24c248cce9120.tar.gz
forums-7cbf74bfcafc5bb6b7971a9b06e24c248cce9120.tar.bz2
forums-7cbf74bfcafc5bb6b7971a9b06e24c248cce9120.tar.xz
forums-7cbf74bfcafc5bb6b7971a9b06e24c248cce9120.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7309 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index df7a7f794a..275b8bc38d 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2545,7 +2545,7 @@ function update_foes($group_id = false, $user_id = false)
{
case 'mysqli':
case 'mysql4':
- $sql = 'DELETE ' . ($db->sql_layer === 'mysqli' || version_compare($db->mysql_version, '4.1', '>=')) ? ZEBRA_TABLE : 'z.*' . '
+ $sql = 'DELETE ' . (($db->sql_layer === 'mysqli' || version_compare($db->mysql_version, '4.1', '>=')) ? 'z.*' : ZEBRA_TABLE) . '
FROM ' . ZEBRA_TABLE . ' z, ' . USER_GROUP_TABLE . ' ug
WHERE z.zebra_id = ug.user_id
AND z.foe = 1