// Add hook params on {hook] smarty function
This commit is contained in:
1 parent
1129962df3
commit
eb2d7b9880
1 file changed
+1
-1
@@ -156,7 +156,7 @@ function smartyHook($params, &$smarty)
|
|||||||
{
|
{
|
||||||
if (isset($params['h']) && !empty($params['h']))
|
if (isset($params['h']) && !empty($params['h']))
|
||||||
{
|
{
|
||||||
unset($hook_params['h']);d($hook_params);
|
unset($hook_params['h']);
|
||||||
return Hook::exec($params['h'], $hook_params);
|
return Hook::exec($params['h'], $hook_params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user