aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/topic.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-07-20 15:09:28 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-07-20 21:21:36 +0200
commit603dc1f78617e64e41f61daf85f463b0465123ec (patch)
tree1f0c7dd4f1bfacf78275c11e5ca966bcdc5938a9 /phpBB/phpbb/feed/topic.php
parente60816eeb12e70be88467d708685ffa49f177691 (diff)
downloadforums-603dc1f78617e64e41f61daf85f463b0465123ec.tar
forums-603dc1f78617e64e41f61daf85f463b0465123ec.tar.gz
forums-603dc1f78617e64e41f61daf85f463b0465123ec.tar.bz2
forums-603dc1f78617e64e41f61daf85f463b0465123ec.tar.xz
forums-603dc1f78617e64e41f61daf85f463b0465123ec.zip
[ticket/11717] Use topic_posts_approved instead of topic_replies
Due to the move to soft-delete, the topic_replies column no longer exists in the topics table. Instead, the column topic_posts_approved should be used. PHPBB3-11717
Diffstat (limited to 'phpBB/phpbb/feed/topic.php')
-rw-r--r--phpBB/phpbb/feed/topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/feed/topic.php b/phpBB/phpbb/feed/topic.php
index 36f958ac60..696b0f5a52 100644
--- a/phpBB/phpbb/feed/topic.php
+++ b/phpBB/phpbb/feed/topic.php
@@ -43,7 +43,7 @@ class phpbb_feed_topic extends phpbb_feed_post_base
function open()
{
- $sql = 'SELECT f.forum_options, f.forum_password, t.topic_id, t.forum_id, t.topic_visibility, t.topic_title, t.topic_time, t.topic_views, t.topic_replies, t.topic_type
+ $sql = 'SELECT f.forum_options, f.forum_password, t.topic_id, t.forum_id, t.topic_visibility, t.topic_title, t.topic_time, t.topic_views, t.topic_posts_approved, t.topic_type
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . FORUMS_TABLE . ' f
ON (f.forum_id = t.forum_id)