mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
Fixed failure on no forums
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3244 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -129,7 +129,8 @@ function auth($type, $forum_id, $userdata, $f_access = '')
|
||||
|
||||
if ( !($f_access = $db->$sql_fetchrow($result)) )
|
||||
{
|
||||
message_die(GENERAL_ERROR, 'No forum access control lists exist', '', __LINE__, __FILE__, $sql);
|
||||
$db->sql_freeresult($result);
|
||||
return array();
|
||||
}
|
||||
|
||||
$db->sql_freeresult($result);
|
||||
|
Reference in New Issue
Block a user