diff --git a/config/smarty.config.inc.php b/config/smarty.config.inc.php index 128900a6d..ad9a72df4 100644 --- a/config/smarty.config.inc.php +++ b/config/smarty.config.inc.php @@ -176,6 +176,7 @@ function smartyHook($params, &$smarty) { $id_module = null; $hook_params = $params; + $hook_params['smarty'] = $smarty; if (!empty($params['mod'])) { $module = Module::getInstanceByName($params['mod']);