1
0
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:
Paul S. Owen
2002-12-22 18:46:26 +00:00
parent 03253054fa
commit e6bb539d92
2 changed files with 3 additions and 1 deletions

View File

@@ -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);