// little fix about adding a category (associated groups)
This commit is contained in:
1 parent
0c2795a533
commit
716e78ecb8
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