aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/topic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/feed/topic.php')
-rw-r--r--phpBB/phpbb/feed/topic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/feed/topic.php b/phpBB/phpbb/feed/topic.php
index 3c2b3405f6..627ae1ffeb 100644
--- a/phpBB/phpbb/feed/topic.php
+++ b/phpBB/phpbb/feed/topic.php
@@ -37,6 +37,8 @@ class topic extends \phpbb\feed\post_base
function open()
{
+ parent::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_posts_approved, t.topic_type
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . FORUMS_TABLE . ' f
@@ -83,8 +85,6 @@ class topic extends \phpbb\feed\post_base
unset($forum_ids_passworded);
}
-
- $this->fetch_attachments();
}
function get_sql()