aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2012-12-12 16:30:50 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2012-12-12 16:30:50 -0600
commit7ae5b62fc68017b6bdd5e55c9641e92a86a1f487 (patch)
tree54e156815f13c40e9b880712de32ae13728ffdae /phpBB/viewtopic.php
parent84284a9ccee7d5ccc658c3d1f751a5254b3b9175 (diff)
parent9420647c43b300699afe6fe72f09d1746daf64a2 (diff)
downloadforums-7ae5b62fc68017b6bdd5e55c9641e92a86a1f487.tar
forums-7ae5b62fc68017b6bdd5e55c9641e92a86a1f487.tar.gz
forums-7ae5b62fc68017b6bdd5e55c9641e92a86a1f487.tar.bz2
forums-7ae5b62fc68017b6bdd5e55c9641e92a86a1f487.tar.xz
forums-7ae5b62fc68017b6bdd5e55c9641e92a86a1f487.zip
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103
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 3fde5b5e03..bd2c7bea77 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1353,7 +1353,7 @@ if (sizeof($attach_list))
}
$template->assign_vars(array(
- 'S_HAS_ATTACHMENTS' => !empty($attachments),
+ 'S_HAS_ATTACHMENTS' => $topic_data['topic_attachment'],
));
$methods = phpbb_gen_download_links('topic_id', $topic_id, $phpbb_root_path, $phpEx);