// Fixed problem with group assigned to customers not logged

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12170 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-05 09:44:59 +00:00
parent ee6cf547f4
commit 52ebbe0130
+6
View File
@@ -147,7 +147,13 @@ else
}
}
else
{
$customer = new Customer();
// Change the default group
if (Group::isFeatureActive())
$customer->id_default_group = Configuration::get('PS_UNIDENTIFIED_GROUP');
}
$customer->id_guest = $cookie->id_guest;
Context::getContext()->customer = $customer;