diff options
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 926670f9bf..06af674ee6 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -423,8 +423,7 @@ if ($forum_data['forum_type'] == FORUM_POST) while ($row = $db->sql_fetchrow($result)) { - if (($row['topic_visibility'] == ITEM_UNAPPROVED && !$auth->acl_get('m_approve', $row['forum_id'])) - && ($row['topic_visibility'] == ITEM_DELETED && !$auth->acl_get('m_restore', $row['forum_id']))) + if ($row['topic_visibility'] != ITEM_APPROVED && !$auth->acl_get('m_approve', $row['forum_id'])) { // Do not display announcements that are waiting for approval or soft deleted. continue; |