From d50bf1537e9e951870f584bf2077cc50be613617 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) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14188 b9a71923-0436-4b27-9f14-aed3839534dd --- 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)