1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01:00

[ticket/16023] Add core.message_history_modify_template_vars

PHPBB3-16023
This commit is contained in:
Dark❶ 2019-04-20 15:42:03 +05:30
parent b76e5a9c18
commit 0a3fb27d47
No known key found for this signature in database
GPG Key ID: FAE32A15F9132DE8

View File

@ -1966,7 +1966,7 @@ function submit_pm($mode, $subject, &$data_ary, $put_in_outbox = true)
*/
function message_history($msg_id, $user_id, $message_row, $folder, $in_post_mode = false)
{
global $db, $user, $template, $phpbb_root_path, $phpEx, $auth;
global $db, $user, $template, $phpbb_root_path, $phpEx, $auth, $phpbb_dispatcher;
// Select all receipts and the author from the pm we currently view, to only display their pm-history
$sql = 'SELECT author_id, user_id