From 91f8b7a53140ac760b1ff2988f43ba3633b389dd Mon Sep 17 00:00:00 2001 From: Ice Date: Mon, 14 Apr 2008 20:04:12 +0000 Subject: [PATCH] Bug introduced in permissions update. --- root/portal/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/portal/includes/functions.php b/root/portal/includes/functions.php index b5bb6681..376d6ba5 100644 --- a/root/portal/includes/functions.php +++ b/root/portal/includes/functions.php @@ -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']; }