aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-11-19 15:35:26 +0100
committerJakub Senko <jakubsenko@gmail.com>2018-11-19 15:35:26 +0100
commit22b8b45f28437d419042293b5003c90ed4e7e1a6 (patch)
tree33acb194d89d9eb73afc6c4e13170c9ac1bf1573
parent7e003bf687b340bba822fc512bfb2b2c8235a6ad (diff)
downloadforums-22b8b45f28437d419042293b5003c90ed4e7e1a6.tar
forums-22b8b45f28437d419042293b5003c90ed4e7e1a6.tar.gz
forums-22b8b45f28437d419042293b5003c90ed4e7e1a6.tar.bz2
forums-22b8b45f28437d419042293b5003c90ed4e7e1a6.tar.xz
forums-22b8b45f28437d419042293b5003c90ed4e7e1a6.zip
[ticket/15878] Add attachments to ucp_pm_view_message
PHPBB3-15878
-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)));