1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 16:15:22 +02:00

[ticket/14039] Fix migrator's language calls

PHPBB3-14039
This commit is contained in:
Mate Bartus 2015-10-18 18:28:12 +02:00
parent 3b593c5d52
commit 94bd35fd3b
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class html_migrator_output_handler implements migrator_output_handler_interface
{ {
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE) if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE)
{ {
$final_message = $this->language->lang_array($message); $final_message = $this->language->lang_array(array_shift($message), $message);
echo $final_message . "<br />\n"; echo $final_message . "<br />\n";
} }
} }

View File

@ -82,7 +82,8 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int
if ($this->file_handle !== false) if ($this->file_handle !== false)
{ {
$translated_message = $this->language->lang_array($message);
$translated_message = $this->language->lang_array(array_shift($message), $message);
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_NORMAL) if ($verbosity <= migrator_output_handler_interface::VERBOSITY_NORMAL)
{ {