Bug introduced in permissions update.

This commit is contained in:
Ice
2008-04-14 20:04:12 +00:00
parent cdf7294d5f
commit 91f8b7a531

View File

@@ -90,7 +90,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
$disallow_access = array();
}
$global_f = FALSE;
$global_f = 0;
if( sizeof($forum_from) )
{
@@ -246,7 +246,7 @@ function phpbb_fetch_posts($forum_from, $permissions, $number_of_posts, $text_le
}
$message = smiley_text($message); // Always process smilies after parsing bbcodes
if( $global_f === FALSE )
if( $global_f < 1 )
{
$global_f = $row['forum_id'];
}