From 10846d462ac9aa4790157f02e6cbf76297c29b82 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 17 Jun 2006 11:28:21 +0000 Subject: fix bugs #2271 and #2273 git-svn-id: file:///svn/phpbb/trunk@6081 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/auth.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/includes/auth.php') diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index 262c1ffaf7..884f58ef0a 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -541,6 +541,7 @@ class auth 'WHERE' => '(ao.auth_option_id = a.auth_option_id OR ao.auth_option_id = r.auth_option_id) AND a.group_id = ug.group_id + AND ug.user_pending = 0 ' . (($sql_user) ? 'AND ug.' . $sql_user : '') . " $sql_forum $sql_opts", -- cgit v1.2.1