aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-11-28 23:25:56 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-11-28 23:25:56 +0100
commitf8e1c66e81ef59bdaf94ca649304045ebd324971 (patch)
treeb63f11884e385193301158c1f407763f8e099ff2
parentc89f4500f0860c7c139662fcbdd41da1cb6270f6 (diff)
parent22b8b45f28437d419042293b5003c90ed4e7e1a6 (diff)
downloadforums-f8e1c66e81ef59bdaf94ca649304045ebd324971.tar
forums-f8e1c66e81ef59bdaf94ca649304045ebd324971.tar.gz
forums-f8e1c66e81ef59bdaf94ca649304045ebd324971.tar.bz2
forums-f8e1c66e81ef59bdaf94ca649304045ebd324971.tar.xz
forums-f8e1c66e81ef59bdaf94ca649304045ebd324971.zip
Merge pull request #5449 from senky/ticket/15878
[ticket/15878] Add attachments to ucp_pm_view_message
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index 5d7e32c8f3..7c0091ef47 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -296,7 +296,9 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
* @var array cp_row Array with senders custom profile field data
* @var array msg_data Template array with message data
* @var array user_info User data of the sender
+ * @var array attachments Attachments data
* @since 3.2.2-RC1
+ * @changed 3.2.5-RC1 Added attachments
*/
$vars = array(
'id',
@@ -308,6 +310,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
'cp_row',
'msg_data',
'user_info',
+ 'attachments',
);
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_view_message', compact($vars)));