mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
@@ -657,7 +657,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
|
|||||||
if (!is_array($function)) {
|
if (!is_array($function)) {
|
||||||
return $function($new_args, $this);
|
return $function($new_args, $this);
|
||||||
} elseif (is_object($function[0])) {
|
} elseif (is_object($function[0])) {
|
||||||
return $this->default_handler_plugins[$plugin_type][$tag][0][0]->$function[1]($new_args,
|
return $this->default_handler_plugins[$plugin_type][$tag][0][0]->{$function[1]}($new_args,
|
||||||
$this);
|
$this);
|
||||||
} else {
|
} else {
|
||||||
return call_user_func_array($function, array($new_args, $this));
|
return call_user_func_array($function, array($new_args, $this));
|
||||||
@@ -716,7 +716,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
|
|||||||
if (!is_array($function)) {
|
if (!is_array($function)) {
|
||||||
return $function($args, $this);
|
return $function($args, $this);
|
||||||
} elseif (is_object($function[0])) {
|
} elseif (is_object($function[0])) {
|
||||||
return $this->smarty->registered_plugins[Smarty::PLUGIN_COMPILER][$tag][0][0]->$function[1]($args,
|
return $this->smarty->registered_plugins[Smarty::PLUGIN_COMPILER][$tag][0][0]->{$function[1]}($args,
|
||||||
$this);
|
$this);
|
||||||
} else {
|
} else {
|
||||||
return call_user_func_array($function, array($args, $this));
|
return call_user_func_array($function, array($args, $this));
|
||||||
|
Reference in New Issue
Block a user