Fixed enterprise console translation problem.

This commit is contained in:
Junichi Satoh 2016-11-09 12:17:31 +09:00
parent 2162f1fd0f
commit 2502f69455
1 changed files with 2 additions and 2 deletions

View File

@ -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;