From 57e2258ef64155f7fca55222ffd8624b0874e9df 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 --- 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')));