// Fix syntax bug
This commit is contained in:
1 parent
e07d938fe1
commit
6cec1ad65a
1 file changed
+1
-1
@@ -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