aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-06-22 18:25:20 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-06-25 03:11:58 +0200
commit129b3375ae873b3e6e947e3c5f47897bc4f9c572 (patch)
treeed3c51e9c04c77571137a49042cc11aae85cc7ee /phpBB/includes
parent06936bda05a48e5b6e20d7c0b0979cf7fc1a29ae (diff)
downloadforums-129b3375ae873b3e6e947e3c5f47897bc4f9c572.tar
forums-129b3375ae873b3e6e947e3c5f47897bc4f9c572.tar.gz
forums-129b3375ae873b3e6e947e3c5f47897bc4f9c572.tar.bz2
forums-129b3375ae873b3e6e947e3c5f47897bc4f9c572.tar.xz
forums-129b3375ae873b3e6e947e3c5f47897bc4f9c572.zip
[ticket/10620] Added enhanced quotes in pm history
PHPBB3-10620
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_privmsgs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 245b1c0d1a..26df5b9954 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -2100,6 +2100,8 @@ function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode
'S_IN_POST_MODE' => $in_post_mode,
'MSG_ID' => $row['msg_id'],
+ 'MESSAGE_TIME' => $row['message_time'],
+ 'USER_ID' => $row['user_id'],
'U_VIEW_MESSAGE' => "$url&amp;f=$folder_id&amp;p=" . $row['msg_id'],
'U_QUOTE' => (!$in_post_mode && $auth->acl_get('u_sendpm') && $author_id != ANONYMOUS) ? "$url&amp;mode=compose&amp;action=quote&amp;f=" . $folder_id . "&amp;p=" . $row['msg_id'] : '',
'U_POST_REPLY_PM' => ($author_id != $user->data['user_id'] && $author_id != ANONYMOUS && $auth->acl_get('u_sendpm')) ? "$url&amp;mode=compose&amp;action=reply&amp;f=$folder_id&amp;p=" . $row['msg_id'] : '')