Merge pull request #627 from davyrolink/upstream
[*] CORE : add $smarty to params in smartyHook function
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user