From 0b99a7b3312e9bf64f513dbd599cfad7c9a7063d Mon Sep 17 00:00:00 2001 From: Davy Rolink Date: Mon, 5 Aug 2013 22:39:35 +0200 Subject: [PATCH] added the smarty var to the hook_params, this makes it possible to create modules that can assign variables to the smarty local scope --- config/smarty.config.inc.php | 1 + 1 file changed, 1 insertion(+) 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']);