aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-01-12 00:53:16 +0000
committerAndreas Fischer <bantu@phpbb.com>2010-01-12 00:53:16 +0000
commit35dc866cf522c1b95b532fd79af4117ff3699b22 (patch)
treee8ee6275dd83e4515d77cc2638a041797b2893aa /phpBB/feed.php
parent085f89e1c14153c8bcc4084e5c7a1a8438bb1a0e (diff)
downloadforums-35dc866cf522c1b95b532fd79af4117ff3699b22.tar
forums-35dc866cf522c1b95b532fd79af4117ff3699b22.tar.gz
forums-35dc866cf522c1b95b532fd79af4117ff3699b22.tar.bz2
forums-35dc866cf522c1b95b532fd79af4117ff3699b22.tar.xz
forums-35dc866cf522c1b95b532fd79af4117ff3699b22.zip
Exclude moved topics.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10403 89ea8834-ac86-4346-8a33-228a782c2dd0
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 6dc237d8dd..f21d8dfe63 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -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';