// Fix syntax bug
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16034 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -531,7 +531,7 @@ class CustomerCore extends ObjectModel
|
|||||||
|
|
||||||
public static function getGroupsStatic($id_customer)
|
public static function getGroupsStatic($id_customer)
|
||||||
{
|
{
|
||||||
if (!Group::isFeatureActive() || $id_customer = 0)
|
if (!Group::isFeatureActive() || $id_customer == 0)
|
||||||
return array(Configuration::get('PS_CUSTOMER_GROUP'));
|
return array(Configuration::get('PS_CUSTOMER_GROUP'));
|
||||||
|
|
||||||
if (!isset(self::$_customer_groups[$id_customer]))
|
if (!isset(self::$_customer_groups[$id_customer]))
|
||||||
|
|||||||
Reference in New Issue
Block a user