From 2502f69455f6663deb9a0bbf1f904134df3e8554 Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Wed, 9 Nov 2016 12:17:31 +0900 Subject: [PATCH] Fixed enterprise console translation problem. --- pandora_console/include/functions_io.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_io.php b/pandora_console/include/functions_io.php index 79a089f27a..e023c05eb7 100755 --- a/pandora_console/include/functions_io.php +++ b/pandora_console/include/functions_io.php @@ -387,7 +387,7 @@ function __ ($string /*, variable arguments */) { if (defined('METACONSOLE')) { enterprise_include_once ('meta/include/functions_meta.php'); - $tranlateString = meta_get_defined_translation($string); + $tranlateString = call_user_func_array('meta_get_defined_translation', func_get_args()); if ($tranlateString !== false) { return $tranlateString; @@ -400,7 +400,7 @@ function __ ($string /*, variable arguments */) { enterprise_include_once('extensions/translate_string/functions.php'); - $tranlateString = get_defined_translation($string); + $tranlateString = call_user_func_array('get_defined_translation', func_get_args()); if ($tranlateString !== false) { return $tranlateString;