Unreported: we don't need no $type == 'announcements' here. ;)

This commit is contained in:
Kevin
2008-04-23 14:37:20 +00:00
parent e433c2f392
commit 2cb44678f6

View File

@@ -54,7 +54,7 @@ if ( $portal_config['portal_announcements_archive'] )
{ {
$acc_id = (int) $acc_id; $acc_id = (int) $acc_id;
$str_where .= "forum_id = $acc_id OR "; $str_where .= "forum_id = $acc_id OR ";
if( $type == 'announcements' && $global_f < 1 && $acc_id > 0 ) if( $global_f < 1 && $acc_id > 0 )
{ {
$global_f = $acc_id; $global_f = $acc_id;
} }