// Fixed problem with group assigned to customers not logged

This commit is contained in:
mDeflotte
2012-01-05 09:44:59 +00:00
parent 1443ee7cfc
commit ad16f17e9f
+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;