diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-12-22 17:31:30 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-12-22 17:31:30 +0100 |
commit | 70a56c208fa5bcdde9337c871b30aaaf7e5602b8 (patch) | |
tree | c0fb49e28e52ec719fade6f7944554d0b4f09602 /phpBB/includes/ucp/ucp_pm_compose.php | |
parent | 73fd2f357323bc3690ce15be23a54ef1896f87fa (diff) | |
parent | b089116965c361b02106fb839877f33639982a42 (diff) | |
download | forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.gz forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.bz2 forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.tar.xz forums-70a56c208fa5bcdde9337c871b30aaaf7e5602b8.zip |
Merge branch 'prep-release-3.2.5' into 3.2.x
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index bc59d8ca86..b1b039add1 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -986,7 +986,11 @@ function compose_pm($id, $mode, $action, $user_folders = array()) $quote_attributes['post_id'] = $post['msg_id']; } - phpbb_format_quote($bbcode_status, $quote_attributes, $phpbb_container->get('text_formatter.utils'), $message_parser, $message_link); + /** @var \phpbb\language\language $language */ + $language = $phpbb_container->get('language'); + /** @var \phpbb\textformatter\utils_interface $text_formatter_utils */ + $text_formatter_utils = $phpbb_container->get('text_formatter.utils'); + phpbb_format_quote($language, $message_parser, $text_formatter_utils, $bbcode_status, $quote_attributes, $message_link); } if (($action == 'reply' || $action == 'quote' || $action == 'quotepost') && !$preview && !$refresh) |