// same for attributes and attributegroups
This commit is contained in:
committed by
Francois Gaillard
parent
5743696596
commit
fce9a0e285
@@ -119,7 +119,7 @@ class AttributeGroupCore extends ObjectModel
|
||||
|
||||
public function delete()
|
||||
{
|
||||
if (!$this->hasMultishopEntries())
|
||||
if (!$this->hasMultishopEntries() || Shop::getContext() == Shop::CONTEXT_ALL)
|
||||
{
|
||||
/* Select children in order to find linked combinations */
|
||||
$attribute_ids = Db::getInstance()->executeS('
|
||||
|
||||
Reference in New Issue
Block a user