From e350801cb339f586ed780e0a6e25b0f50a0fe2a6 Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 15 Mar 2012 10:09:01 +0000 Subject: [PATCH] // little fix about adding a category (associated groups) --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index 1caa467b2..0c51eae10 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -1102,7 +1102,7 @@ class CategoryCore extends ObjectModel if ($list && !empty($list)) $this->addGroups($list); else - $this->addGroups(array(1)); + $this->addGroups(array(Configuration::get('PS_CUSTOMER_GROUP'))); } public static function setNewGroupForHome($id_group)