// 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user