From 64356b885e8014696cb8c34d6b387e0153851e42 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 16 Sep 2001 18:23:57 +0000 Subject: [PATCH] Should fix bug #462074 git-svn-id: file:///svn/phpbb/trunk@1049 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index acf0456119..d2bb461fa3 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -175,7 +175,8 @@ function auth($type, $forum_id, $userdata, $f_access = -1) $forum_match_sql";*/ $sql = "SELECT a.forum_id, $a_sql, a.auth_mod, g.group_single_user FROM " . AUTH_ACCESS_TABLE . " a, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g - WHERE ug.user_id = ".$userdata['user_id']. " + WHERE ug.user_id = ".$userdata['user_id']. " + AND ug.user_pending = 0 AND g.group_id = ug.group_id AND a.group_id = ug.group_id $forum_match_sql";