diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2016-12-25 17:54:11 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-03 22:56:42 +0100 |
| commit | 7cad25e4cbed2efbf891001cd2664f825674d5a7 (patch) | |
| tree | 899eaf8cd5592e6dd9428363c17724da3c1c1a2c /phpBB/phpbb/feed/topics_active.php | |
| parent | bc96a9f1f67df4719f66896590288eb03f6ca12d (diff) | |
| download | forums-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/topics_active.php')
| -rw-r--r-- | phpBB/phpbb/feed/topics_active.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/feed/topics_active.php b/phpBB/phpbb/feed/topics_active.php index 6d5eddfc16..3b751f3233 100644 --- a/phpBB/phpbb/feed/topics_active.php +++ b/phpBB/phpbb/feed/topics_active.php @@ -71,6 +71,8 @@ class topics_active extends \phpbb\feed\topic_base return false; } + parent::fetch_attachments($post_ids); + $this->sql = array( 'SELECT' => 'f.forum_id, f.forum_name, t.topic_id, t.topic_title, t.topic_posts_approved, t.topic_posts_unapproved, t.topic_posts_softdeleted, t.topic_views, |
