aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php1
1 files changed, 1 insertions, 0 deletions
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',