aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-07-16 18:22:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-07-16 18:22:33 +0000
commitd1cdba389113fc6d7287668162fc084362003ce9 (patch)
treeb4c78273bfb66dc06c5877d5091c4712102379ad /phpBB
parent7c00475d722baf8bee95c7441ec5db1feffd9bf3 (diff)
downloadforums-d1cdba389113fc6d7287668162fc084362003ce9.tar
forums-d1cdba389113fc6d7287668162fc084362003ce9.tar.gz
forums-d1cdba389113fc6d7287668162fc084362003ce9.tar.bz2
forums-d1cdba389113fc6d7287668162fc084362003ce9.tar.xz
forums-d1cdba389113fc6d7287668162fc084362003ce9.zip
How come this worked fine locally ... bloody amazing ...
git-svn-id: file:///svn/phpbb/trunk@2702 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 268d76a818..d6b93e202f 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -92,7 +92,7 @@ function get_moderators(&$forum_moderators, $forum_id = false)
$forum_sql = ( $forum_id ) ? 'AND au.forum_id = ' . $forum_id : '';
$sql = "SELECT au.forum_id, u.user_id, u.username
- FROM phpbb_auth_users au, phpbb_auth_options ao, " . USERS_TABLE . " u
+ FROM " . ACL_USERS_TABLE . " au, " . ACL_OPTIONS_TABLE . " ao, " . USERS_TABLE . " u
WHERE ao.auth_type LIKE 'mod'
AND au.auth_option_id = ao.auth_option_id
$forum_sql
@@ -107,7 +107,7 @@ function get_moderators(&$forum_moderators, $forum_id = false)
}
$sql = "SELECT au.forum_id, g.group_id, g.group_name
- FROM phpbb_auth_groups au, phpbb_auth_options ao, " . GROUPS_TABLE . " g
+ FROM " . ACL_GROUPS_TABLE . " au, " . ACL_OPTIONS_TABLE . " ao, " . GROUPS_TABLE . " g
WHERE ao.auth_type LIKE 'mod'
AND au.auth_option_id = ao.auth_option_id
$forum_sql