Skip to content

Commit 92c1957

Browse files
author
Paul S. Owen
committed
Something I forgot to change a long time ago ... and pretty serious too, bad Paul
git-svn-id: file:///svn/phpbb/trunk@509 89ea8834-ac86-4346-8a33-228a782c2dd0
1 parent c3b0c93 commit 92c1957

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

phpBB/includes/auth.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ function auth($type, $forum_id, $userdata, $f_access = -1)
180180
$num_u_access = $db->sql_numrows($au_result);
181181
if($num_u_access)
182182
{
183-
$u_access = $db->sql_fetchrowset($au_result);
183+
while($u_row = $db->sql_fetchrow($au_result))
184+
{
185+
$u_access[$u_row['forum_id']] = $u_row;
186+
}
184187
}
185188
}
186189

0 commit comments

Comments
 (0)