[-] FO: Fix #PSCFV-5143
This commit is contained in:
@@ -49,8 +49,8 @@ class MyAccountControllerCore extends FrontController
|
||||
$has_address = $this->context->customer->getAddresses($this->context->language->id);
|
||||
$this->context->smarty->assign(array(
|
||||
'has_customer_an_address' => empty($has_address),
|
||||
'voucherAllowed' => (int)(Configuration::get('PS_VOUCHERS')),
|
||||
'returnAllowed' => (int)(Configuration::get('PS_ORDER_RETURN'))
|
||||
'voucherAllowed' => (int)CartRule::isFeatureActive(),
|
||||
'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN')
|
||||
));
|
||||
$this->context->smarty->assign('HOOK_CUSTOMER_ACCOUNT', Hook::exec('displayCustomerAccount'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user