// Deactivate customer groups in the install (automatically reactivated if you add a group or set a reduction)

This commit is contained in:
Damien Metzger
2013-11-21 14:57:55 +01:00
parent 26b90d5670
commit 9c5303df1d
10 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class GroupReductionCore extends ObjectModel
public static function getValueForProduct($id_product, $id_group)
{
if (!Configuration::get('PS_GROUP_FEATURE_ACTIVE'))
if (!Group::isFeatureActive())
return 0;
if (!isset(self::$reduction_cache[$id_product.'-'.$id_group]))