From 6be1ed9428fa934236b517128f0137d73e7ddbd9 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 6 Dec 2011 10:05:00 +0000 Subject: [PATCH] // BugFix : Problem with account creation and OPC git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10970 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/front/AuthController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 61e841c24..7e4278009 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -501,6 +501,7 @@ class AuthControllerCore extends FrontController { if (!$customer->is_guest) { + $this->context->customer = $customer; $customer->cleanGroups(); // we add the guest customer in the default customer group $customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP')));