aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
author3D-I <480857+3D-I@users.noreply.github.com>2019-12-05 10:14:46 +0100
committer3D-I <480857+3D-I@users.noreply.github.com>2019-12-05 10:15:54 +0100
commitd3749538f1692af50ee340da1d942d4b963f5c40 (patch)
tree2604536cca4e894da27e93261bfc8c604a78e29a /phpBB/includes/ucp
parent3002cee42a922c0c90788aa9a8da5ad274773b6a (diff)
downloadforums-d3749538f1692af50ee340da1d942d4b963f5c40.tar
forums-d3749538f1692af50ee340da1d942d4b963f5c40.tar.gz
forums-d3749538f1692af50ee340da1d942d4b963f5c40.tar.bz2
forums-d3749538f1692af50ee340da1d942d4b963f5c40.tar.xz
forums-d3749538f1692af50ee340da1d942d4b963f5c40.zip
[ticket/16247] Quote PM has no identifier
PHPBB3-16247
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 06baa279a5..87a8c91fd2 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -999,7 +999,10 @@ function compose_pm($id, $mode, $action, $user_folders = array())
{
$quote_attributes['post_id'] = $post['msg_id'];
}
-
+ if ($action === 'quote')
+ {
+ $quote_attributes['msg_id'] = $post['msg_id'];
+ }
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
/** @var \phpbb\textformatter\utils_interface $text_formatter_utils */