mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
[ticket/14039] Fix migrator's language calls
PHPBB3-14039
This commit is contained in:
@ -39,7 +39,7 @@ class html_migrator_output_handler implements migrator_output_handler_interface
|
||||
{
|
||||
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";
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,8 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int
|
||||
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user