aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-12-19 23:47:35 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-12-19 23:47:35 +0000
commit2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6 (patch)
treee2641c72925b1df1dda085b716a421a182b8abe3 /phpBB/feed.php
parent9d436a33f655c2ddbbed96b9cf6ac7f39c884390 (diff)
downloadforums-2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6.tar
forums-2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6.tar.gz
forums-2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6.tar.bz2
forums-2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6.tar.xz
forums-2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6.zip
Topic has to be approved.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10349 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 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',