aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-08 15:56:52 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-10 12:37:10 +0100
commite4129687cbd5d80b73997965ba6a20b1140036d2 (patch)
treed1969e9962e36141e627308e42d4832ad1613e2d /phpBB/includes
parent8744b0da6d050275f9f2da8f12068238fd44da3c (diff)
downloadforums-e4129687cbd5d80b73997965ba6a20b1140036d2.tar
forums-e4129687cbd5d80b73997965ba6a20b1140036d2.tar.gz
forums-e4129687cbd5d80b73997965ba6a20b1140036d2.tar.bz2
forums-e4129687cbd5d80b73997965ba6a20b1140036d2.tar.xz
forums-e4129687cbd5d80b73997965ba6a20b1140036d2.zip
[ticket/12171] Split post and pm download links
PHPBB3-12171 PHPBB3-12172
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php2
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 119b84564a..4ec2adcc16 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -275,7 +275,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);