// 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
@@ -549,7 +549,7 @@ class CategoryCore extends ObjectModel
{
$sql_groups_where = '';
$sql_groups_join = '';
if (Configuration::get('PS_GROUP_FEATURE_ACTIVE'))
if (Group::isFeatureActive())
{
$sql_groups_join = 'LEFT JOIN `'._DB_PREFIX_.'category_group` cg ON (cg.`id_category` = c.`id_category`)';
$groups = FrontController::getCurrentCustomerGroups();