diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2014-02-20 20:51:58 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2014-02-20 20:51:58 -0600 |
commit | b8d30bfc80b5127c5dab1bfe18035e70d77bb7aa (patch) | |
tree | 5d98c8885b224379e837e2a4d5e14924fa1585f3 /phpBB/includes/ucp/ucp_pm_viewmessage.php | |
parent | 92cf69abecbfa26030da2937d06d170905f88f7d (diff) | |
parent | 09a17b4944da95a5e3e3104541994babaa37f455 (diff) | |
download | forums-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/includes/ucp/ucp_pm_viewmessage.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_viewmessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php index f9e8e3155e..e513b8ade2 100644 --- a/phpBB/includes/ucp/ucp_pm_viewmessage.php +++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php @@ -274,7 +274,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row) // Display not already displayed Attachments for this post, we already parsed them. ;) if (isset($attachments) && sizeof($attachments)) { - $methods = phpbb_gen_download_links('post_msg_id', $msg_id, $phpbb_root_path, $phpEx); + $methods = phpbb_gen_download_links('msg_id', $msg_id, $phpbb_root_path, $phpEx); foreach ($methods as $method) { $template->assign_block_vars('dl_method', $method); |