--- phpBB/search.php 2009-11-16 11:10:35.000000000 -0600 +++ phpBB3/search.php 2009-11-26 23:44:17.000000000 -0600 @@ -198,7 +198,7 @@ } // Exclude forums from active topics - if (!($row['forum_flags'] & FORUM_FLAG_ACTIVE_TOPICS) && ($search_id == 'active_topics')) + if (!($row['forum_flags'] && FORUM_FLAG_ACTIVE_TOPICS) && ($search_id == 'active_topics')) { $ex_fid_ary[] = (int) $row['forum_id']; continue;