diff options
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/viewforum.php | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index e0b51bf782..215911c8cb 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -376,6 +376,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']; | 
