// Context part 31

This commit is contained in:
tDidierjean
2011-08-17 10:07:12 +00:00
parent a9a1706085
commit 3d733ae6e2
57 changed files with 200 additions and 165 deletions
+1 -1
View File
@@ -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))