diff options
| author | 3Di <three3di@hotmail.it> | 2018-12-24 09:42:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-24 09:42:16 +0100 |
| commit | 871875d9aa3d0b0a17a0eb1936323d5737a438f5 (patch) | |
| tree | d035cb1e7c7d99fedd70976c47cf9d7d8a04c7ac /phpBB/includes/functions_content.php | |
| parent | db7f4d4c9523e5dc36c62ec6fe647aaf7708daaa (diff) | |
| parent | ca98cd413a6f01eb01e3ca60cea9b55409dadc61 (diff) | |
| download | forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.gz forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.bz2 forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.tar.xz forums-871875d9aa3d0b0a17a0eb1936323d5737a438f5.zip | |
Merge pull request #1 from phpbb/3.2.x
3.2.x
Diffstat (limited to 'phpBB/includes/functions_content.php')
| -rw-r--r-- | phpBB/includes/functions_content.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index 8284aab6a4..a15a03f966 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -1762,13 +1762,14 @@ class bitfield /** * Formats the quote according to the given BBCode status setting * - * @param bool $bbcode_status The status of the BBCode setting - * @param array $quote_attributes The attributes of the quoted post - * @param phpbb\textformatter\utils $text_formatter_utils Text formatter utilities - * @param parse_message $message_parser Message parser class - * @param string $message_link Link of the original quoted post + * @param phpbb\language\language $language Language class + * @param parse_message $message_parser Message parser class + * @param phpbb\textformatter\utils_interface $text_formatter_utils Text formatter utilities + * @param bool $bbcode_status The status of the BBCode setting + * @param array $quote_attributes The attributes of the quoted post + * @param string $message_link Link of the original quoted post */ -function phpbb_format_quote($bbcode_status, $quote_attributes, $text_formatter_utils, $message_parser, $message_link = '') +function phpbb_format_quote($language, $message_parser, $text_formatter_utils, $bbcode_status, $quote_attributes, $message_link = '') { if ($bbcode_status) { @@ -1794,7 +1795,7 @@ function phpbb_format_quote($bbcode_status, $quote_attributes, $text_formatter_u $message = $quote_string . $message; $message = str_replace("\n", "\n" . $quote_string, $message); - $message_parser->message = $quote_attributes['author'] . " " . $user->lang['WROTE'] . ":\n" . $message . "\n"; + $message_parser->message = $quote_attributes['author'] . " " . $language->lang('WROTE') . ":\n" . $message . "\n"; } if ($message_link) |
