aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/overall.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-25 17:54:11 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-03 22:56:42 +0100
commit7cad25e4cbed2efbf891001cd2664f825674d5a7 (patch)
tree899eaf8cd5592e6dd9428363c17724da3c1c1a2c /phpBB/phpbb/feed/overall.php
parentbc96a9f1f67df4719f66896590288eb03f6ca12d (diff)
downloadforums-7cad25e4cbed2efbf891001cd2664f825674d5a7.tar
forums-7cad25e4cbed2efbf891001cd2664f825674d5a7.tar.gz
forums-7cad25e4cbed2efbf891001cd2664f825674d5a7.tar.bz2
forums-7cad25e4cbed2efbf891001cd2664f825674d5a7.tar.xz
forums-7cad25e4cbed2efbf891001cd2664f825674d5a7.zip
[ticket/14838] Do not query full attachments table in feeds
The fetch_attachments() will also now throw a runtime exception if a feed tries to do this nonetheless. PHPBB3-14838
Diffstat (limited to 'phpBB/phpbb/feed/overall.php')
-rw-r--r--phpBB/phpbb/feed/overall.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/feed/overall.php b/phpBB/phpbb/feed/overall.php
index ab452f5386..1176a9c182 100644
--- a/phpBB/phpbb/feed/overall.php
+++ b/phpBB/phpbb/feed/overall.php
@@ -52,6 +52,8 @@ class overall extends \phpbb\feed\post_base
return false;
}
+ parent::fetch_attachments(array(), $topic_ids);
+
// Get the actual data
$this->sql = array(
'SELECT' => 'f.forum_id, f.forum_name, ' .