mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Exclude moved topics.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10403 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -746,6 +746,7 @@ class phpbb_feed_overall extends phpbb_feed_post_base
|
||||
$sql = 'SELECT topic_id, topic_last_post_time
|
||||
FROM ' . TOPICS_TABLE . '
|
||||
WHERE ' . $db->sql_in_set('forum_id', $forum_ids) . '
|
||||
AND topic_moved_id = 0
|
||||
AND (topic_approved = 1
|
||||
OR ' . $db->sql_in_set('forum_id', $this->get_moderator_approve_forums()) . ')
|
||||
ORDER BY topic_last_post_time DESC';
|
||||
|
Reference in New Issue
Block a user