diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 93d856f620..caed794671 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -391,6 +391,12 @@ if ($forum_data['forum_type'] == FORUM_POST) while ($row = $db->sql_fetchrow($result)) { + if (!$row['topic_approved'] && !$auth->acl_get('m_approve', $row['forum_id'])) + { + // Do not display announcements that are waiting for approval. + continue; + } + $rowset[$row['topic_id']] = $row; $announcement_list[] = $row['topic_id'];