// Context part 12
This commit is contained in:
1 parent
ff81f71449
commit
52339502b6
53 files changed
+184
-196
No files matched your search
@@ -61,7 +61,7 @@ class BlockMyAccount extends Module
|
||||
$context = Context::getContext();
|
||||
if (!$params['cookie']->isLogged())
|
||||
return false;
|
||||
$context->controller->smarty->assign(array(
|
||||
$context->smarty->assign(array(
|
||||
'voucherAllowed' => (int)(Configuration::get('PS_VOUCHERS')),
|
||||
'returnAllowed' => (int)(Configuration::get('PS_ORDER_RETURN')),
|
||||
'HOOK_BLOCK_MY_ACCOUNT' => Module::hookExec('myAccountBlock')
|
||||
|
||||
Reference in new issue
Block a user