aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-10-18 18:28:12 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-10-18 18:28:12 +0200
commit94bd35fd3b24b727adb91ba325e6bb8d1522c7b0 (patch)
treeb947d468ea2bcd67c2828f67cc807fd9acf686ff /phpBB
parent3b593c5d522f8ac374ea443925ae8159782ff9dd (diff)
downloadforums-94bd35fd3b24b727adb91ba325e6bb8d1522c7b0.tar
forums-94bd35fd3b24b727adb91ba325e6bb8d1522c7b0.tar.gz
forums-94bd35fd3b24b727adb91ba325e6bb8d1522c7b0.tar.bz2
forums-94bd35fd3b24b727adb91ba325e6bb8d1522c7b0.tar.xz
forums-94bd35fd3b24b727adb91ba325e6bb8d1522c7b0.zip
[ticket/14039] Fix migrator's language calls
PHPBB3-14039
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/db/output_handler/html_migrator_output_handler.php2
-rw-r--r--phpBB/phpbb/db/output_handler/log_wrapper_migrator_output_handler.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/output_handler/html_migrator_output_handler.php b/phpBB/phpbb/db/output_handler/html_migrator_output_handler.php
index f15b8e5913..67309649c9 100644
--- a/phpBB/phpbb/db/output_handler/html_migrator_output_handler.php
+++ b/phpBB/phpbb/db/output_handler/html_migrator_output_handler.php
@@ -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";
}
}
diff --git a/phpBB/phpbb/db/output_handler/log_wrapper_migrator_output_handler.php b/phpBB/phpbb/db/output_handler/log_wrapper_migrator_output_handler.php
index 475b2616e5..20991746ac 100644
--- a/phpBB/phpbb/db/output_handler/log_wrapper_migrator_output_handler.php
+++ b/phpBB/phpbb/db/output_handler/log_wrapper_migrator_output_handler.php
@@ -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)
{