// Context part 31
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8087 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -290,7 +290,7 @@ class ParentOrderControllerCore extends FrontController
|
||||
//if guest checkout disabled and flag is_guest in cookies is actived
|
||||
if(Configuration::get('PS_GUEST_CHECKOUT_ENABLED') == 0 AND ((int)$this->context->customer->is_guest != Configuration::get('PS_GUEST_CHECKOUT_ENABLED')))
|
||||
{
|
||||
$this->context->cookie->logout();
|
||||
$this->context->customer->logout();
|
||||
Tools::redirect('');
|
||||
}
|
||||
elseif (!Customer::getAddressesTotalById($this->context->customer->id))
|
||||
|
||||
Reference in New Issue
Block a user