mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed enterprise console translation problem.
(cherry picked from commit 2502f69455f6663deb9a0bbf1f904134df3e8554)
This commit is contained in:
parent
041838b1ef
commit
d28ccff9d7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user