1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 07:08:09 +01:00

Topic has to be approved.

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10349 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Andreas Fischer 2009-12-19 23:47:35 +00:00
parent 9d436a33f6
commit 2eb337ba41

View File

@ -1054,6 +1054,7 @@ class phpbb_feed_news extends phpbb_feed_base
), ),
'WHERE' => 'p.post_id = t.topic_first_post_id 'WHERE' => 'p.post_id = t.topic_first_post_id
AND t.topic_moved_id = 0 AND t.topic_moved_id = 0
AND t.topic_approved = 1
AND (' . $db->sql_in_set('t.forum_id', $in_fid_ary) . ' AND (' . $db->sql_in_set('t.forum_id', $in_fid_ary) . '
OR t.topic_type = ' . POST_GLOBAL . ')', OR t.topic_type = ' . POST_GLOBAL . ')',
'ORDER_BY' => 't.topic_time DESC', 'ORDER_BY' => 't.topic_time DESC',