From 86abe094d2ce4d08dbddfdea38c09d6f46a799f5 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Wed, 6 Mar 2013 18:51:29 +0100 Subject: [PATCH] [-] BO : Bug with duplicate carts in back office due to id_guest --- controllers/front/AuthController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 74b604a99..244e4fe7c 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -304,8 +304,6 @@ class AuthControllerCore extends FrontController } $this->context->cart->id_customer = (int)$customer->id; $this->context->cart->secure_key = $customer->secure_key; - if ($id_guest = (int)Guest::getFromCustomer($this->context->cart->id_customer)) - $this->context->cart->id_guest = $id_guest; $this->context->cart->save(); $this->context->cookie->id_cart = (int)$this->context->cart->id; $this->context->cookie->update();