aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/forum.php
diff options
context:
space:
mode:
authorTristan Darricau <github@darricau.eu>2014-04-19 01:11:52 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-06 14:19:55 +0200
commitf4df3f0aaf72ac0bb1a2538b09da971d422e4dcc (patch)
tree8b5e4ddfdccef1f75b28f70ea1366aa93d1e5c6e /phpBB/phpbb/feed/forum.php
parentc7d29fbdb1bb0d265e7791ce40699def97f4388e (diff)
downloadforums-f4df3f0aaf72ac0bb1a2538b09da971d422e4dcc.tar
forums-f4df3f0aaf72ac0bb1a2538b09da971d422e4dcc.tar.gz
forums-f4df3f0aaf72ac0bb1a2538b09da971d422e4dcc.tar.bz2
forums-f4df3f0aaf72ac0bb1a2538b09da971d422e4dcc.tar.xz
forums-f4df3f0aaf72ac0bb1a2538b09da971d422e4dcc.zip
[ticket/12421] Don't parse [attachment] tags if user can't view them
https://tracker.phpbb.com/browse/PHPBB3-12421 PHPBB3-12421
Diffstat (limited to 'phpBB/phpbb/feed/forum.php')
-rw-r--r--phpBB/phpbb/feed/forum.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/feed/forum.php b/phpBB/phpbb/feed/forum.php
index 8e6490923d..e35ec4baa4 100644
--- a/phpBB/phpbb/feed/forum.php
+++ b/phpBB/phpbb/feed/forum.php
@@ -132,6 +132,7 @@ class forum extends \phpbb\feed\post_base
parent::adjust_item($item_row, $row);
$item_row['title'] = (isset($row['forum_name']) && $row['forum_name'] !== '') ? $row['forum_name'] . ' ' . $this->separator . ' ' . $item_row['title'] : $item_row['title'];
+ $item_row['forum_id'] = $this->forum_id;
}
function get_item()