From 4aa9036e736bbfc550b57efb3e3008a116d8e26a Mon Sep 17 00:00:00 2001 From: messju Date: Wed, 6 Aug 2003 11:33:09 +0000 Subject: [PATCH] fixed bug in _run_mod_handler --- libs/Smarty.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index bfe52e11..332667d2 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -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);