// 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:
1 parent
4c65be6f92
commit
d50bf1537e
1 file changed
+1
-1
@@ -1102,7 +1102,7 @@ class CategoryCore extends ObjectModel
|
|||||||
if ($list && !empty($list))
|
if ($list && !empty($list))
|
||||||
$this->addGroups($list);
|
$this->addGroups($list);
|
||||||
else
|
else
|
||||||
$this->addGroups(array(1));
|
$this->addGroups(array(Configuration::get('PS_CUSTOMER_GROUP')));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function setNewGroupForHome($id_group)
|
public static function setNewGroupForHome($id_group)
|
||||||
|
|||||||
Reference in new issue
Block a user