// 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:
tDidierjean
2011-08-17 10:07:12 +00:00
parent b8706ddd8a
commit cb3d802346
57 changed files with 200 additions and 165 deletions
+2 -2
View File
@@ -149,13 +149,13 @@ class OrderOpcControllerCore extends ParentOrderController
{
$email = $this->context->customer->email;
if ($this->context->customer->is_guest)
$this->context->cookie->logout(); // If guest we clear the cookie for security reason
$this->context->customer->logout(); // If guest we clear the cookie for security reason
die('freeorder:'.$id_order.':'.$email);
}
exit;
break;
case 'updateAddressesSelected':
if ($this->context->cookie->isLogged(true))
if ($this->context->customer->isLogged(true))
{
$id_address_delivery = (int)(Tools::getValue('id_address_delivery'));
$id_address_invoice = (int)(Tools::getValue('id_address_invoice'));