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

@ -172,6 +172,7 @@ p,ul,td {font-size:10pt;}
<li>Fixed javascript error when selecting smiley containing a single quote</li>
<li>Update users watched topic if a post they made is split into a new topic</li>
<li>Fixed situations where email templates contain incorrect or missing subject lines</li>
<li>Fixed error when searching for posts and no forums exist</li>
</ul>
<a name="202"></a><h3 class="h3">1.ii. Changes since 2.0.2</h3>

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