From 2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 19 Dec 2009 23:47:35 +0000 Subject: Topic has to be approved. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10349 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/feed.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/feed.php') diff --git a/phpBB/feed.php b/phpBB/feed.php index 8b241176b8..c02f7ee855 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -1054,6 +1054,7 @@ class phpbb_feed_news extends phpbb_feed_base ), 'WHERE' => 'p.post_id = t.topic_first_post_id AND t.topic_moved_id = 0 + AND t.topic_approved = 1 AND (' . $db->sql_in_set('t.forum_id', $in_fid_ary) . ' OR t.topic_type = ' . POST_GLOBAL . ')', 'ORDER_BY' => 't.topic_time DESC', -- cgit v1.2.1