aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 48f9152e4a..cef6bd1a7e 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1179,7 +1179,7 @@ for ($i = 0; $i < count($post_list); ++$i)
if (sizeof($attachments[$row['post_id']]))
{
$tpl = &$attachments[$row['post_id']];
- $tpl = display_attachments(NULL, $tpl, $update_count, false, true);
+ $tpl = display_attachments($forum_id, NULL, $tpl, $update_count, false, true);
$tpl_size = sizeof($tpl);
$unset_tpl = array();