From d1cdba389113fc6d7287668162fc084362003ce9 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 16 Jul 2002 18:22:33 +0000 Subject: [PATCH] How come this worked fine locally ... bloody amazing ... git-svn-id: file:///svn/phpbb/trunk@2702 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 4 ++-- 1 file 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