// 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
This commit is contained in:
mDeflotte
2011-12-06 10:05:00 +00:00
parent a12255dd1c
commit 6be1ed9428
+1
View File
@@ -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')));