aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-22 17:31:30 +0100
commit70a56c208fa5bcdde9337c871b30aaaf7e5602b8 (patch)
treec0fb49e28e52ec719fade6f7944554d0b4f09602 /phpBB/posting.php
parent73fd2f357323bc3690ce15be23a54ef1896f87fa (diff)
parentb089116965c361b02106fb839877f33639982a42 (diff)
downloadforums-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/posting.php')
-rw-r--r--phpBB/posting.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index e2329d610d..59be983987 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -846,6 +846,7 @@ if ($load && ($mode == 'reply' || $mode == 'quote' || $mode == 'post') && $post_
load_drafts($topic_id, $forum_id);
}
+/** @var \phpbb\textformatter\utils_interface $bbcode_utils */
$bbcode_utils = $phpbb_container->get('text_formatter.utils');
if ($submit || $preview || $refresh)
@@ -1648,7 +1649,9 @@ if ($generate_quote)
'user_id' => $post_data['poster_id'],
);
- phpbb_format_quote($config['allow_bbcode'], $quote_attributes, $bbcode_utils, $message_parser);
+ /** @var \phpbb\language\language $language */
+ $language = $phpbb_container->get('language');
+ phpbb_format_quote($language, $message_parser, $bbcode_utils, $bbcode_status, $quote_attributes);
}
if (($mode == 'reply' || $mode == 'quote') && !$submit && !$preview && !$refresh)