// same for attributes and attributegroups

This commit is contained in:
Rémi Gaillard
2013-05-24 11:33:58 +02:00
parent 3b5f18a96d
commit 3de79c7015
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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('