mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed bug in _run_mod_handler
This commit is contained in:
@@ -1752,6 +1752,7 @@ class Smarty
|
|||||||
list($_func_name, $_tpl_file, $_tpl_line) =
|
list($_func_name, $_tpl_file, $_tpl_line) =
|
||||||
$this->_plugins['modifier'][$_modifier_name];
|
$this->_plugins['modifier'][$_modifier_name];
|
||||||
|
|
||||||
|
$_var = $_args[0];
|
||||||
foreach ($_var as $_key => $_val) {
|
foreach ($_var as $_key => $_val) {
|
||||||
$_args[0] = $_val;
|
$_args[0] = $_val;
|
||||||
$_var[$_key] = call_user_func_array($_func_name, $_args);
|
$_var[$_key] = call_user_func_array($_func_name, $_args);
|
||||||
|
Reference in New Issue
Block a user