added the smarty var to the hook_params, this makes it possible to create modules that can assign variables to the smarty local scope

This commit is contained in:
Davy Rolink
2013-08-05 22:39:35 +02:00
parent f3361fbedf
commit 0b99a7b331

View File

@@ -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']);