diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-12-19 23:47:35 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-12-19 23:47:35 +0000 |
commit | 2eb337ba41a4ecb264f03a07c92f0fba9b5a57c6 (patch) | |
tree | e2641c72925b1df1dda085b716a421a182b8abe3 /phpBB/feed.php | |
parent | 9d436a33f655c2ddbbed96b9cf6ac7f39c884390 (diff) | |
download | forums-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.php | 1 |
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', |