// 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
This commit is contained in:
vChabot
2012-03-15 10:09:01 +00:00
parent 4c65be6f92
commit d50bf1537e
+1 -1
View File
@@ -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)