From 3f820f64c6f09c6e962fa85145df6275bb7f54de Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 21 Nov 2001 01:20:17 +0000 Subject: [PATCH] oohh 'eck Dangermouse, I'm surprised they didn't pick up on this bug, quiet Penfold I'm thinking git-svn-id: file:///svn/phpbb/trunk@1399 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index d2bb461fa3..85164884ec 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -197,7 +197,7 @@ function auth($type, $forum_id, $userdata, $f_access = -1) { while($u_row = $db->sql_fetchrow($a_result)) { - $u_access[$u_row['forum_id']] = $u_row; + $u_access[$u_row['forum_id']][] = $u_row; } } } @@ -333,7 +333,6 @@ function auth($type, $forum_id, $userdata, $f_access = -1) function auth_check_user($type, $key, $u_access, $is_admin) { - $single_user = 0; $auth_user = 0; if(count($u_access))