diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php index 3fcef1a2b..87bb44c48 100644 --- a/config/smarty.config.inc.php +++ b/config/smarty.config.inc.php @@ -156,6 +156,7 @@ function smartyHook($params, &$smarty) { if (isset($params['h']) && !empty($params['h'])) { + $hook_params = $params; unset($hook_params['h']); return Hook::exec($params['h'], $hook_params); }