fixed bug in _run_mod_handler

This commit is contained in:
messju
2003-08-06 11:33:09 +00:00
parent 7232d718dd
commit 4aa9036e73

View File

@@ -1752,6 +1752,7 @@ class Smarty
list($_func_name, $_tpl_file, $_tpl_line) =
$this->_plugins['modifier'][$_modifier_name];
$_var = $_args[0];
foreach ($_var as $_key => $_val) {
$_args[0] = $_val;
$_var[$_key] = call_user_func_array($_func_name, $_args);