aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 01:20:17 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 01:20:17 +0000
commit3f820f64c6f09c6e962fa85145df6275bb7f54de (patch)
tree2f3dd5225e09ad967128fa5a8e9c02ba4af1df6b /phpBB/includes/auth.php
parent276b86e0daef0448f6144c316f91bd9fa966dbfe (diff)
downloadforums-3f820f64c6f09c6e962fa85145df6275bb7f54de.tar
forums-3f820f64c6f09c6e962fa85145df6275bb7f54de.tar.gz
forums-3f820f64c6f09c6e962fa85145df6275bb7f54de.tar.bz2
forums-3f820f64c6f09c6e962fa85145df6275bb7f54de.tar.xz
forums-3f820f64c6f09c6e962fa85145df6275bb7f54de.zip
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
Diffstat (limited to 'phpBB/includes/auth.php')
-rw-r--r--phpBB/includes/auth.php3
1 files changed, 1 insertions, 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))