aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2014-02-20 20:51:58 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2014-02-20 20:51:58 -0600
commitb8d30bfc80b5127c5dab1bfe18035e70d77bb7aa (patch)
tree5d98c8885b224379e837e2a4d5e14924fa1585f3 /phpBB/viewtopic.php
parent92cf69abecbfa26030da2937d06d170905f88f7d (diff)
parent09a17b4944da95a5e3e3104541994babaa37f455 (diff)
downloadforums-b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa.tar
forums-b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa.tar.gz
forums-b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa.tar.bz2
forums-b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa.tar.xz
forums-b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa.zip
Merge pull request #2021 from nickvergessen/ticket/12171
Ticket/12171 Attachments from soft-deleted posts are still downloadable
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 86ef331ac0..e02052a14d 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1736,7 +1736,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
);
}
- $methods = phpbb_gen_download_links('post_msg_id', $row['post_id'], $phpbb_root_path, $phpEx);
+ $methods = phpbb_gen_download_links('post_id', $row['post_id'], $phpbb_root_path, $phpEx);
foreach ($methods as $method)
{
$template->assign_block_vars('postrow.dl_method', $method);