// Context part 12
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7649 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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