#849: fix for the special case of loading class tags into a hierarchy

SVN:trunk[3004]
This commit is contained in:
Denis Flaven
2013-11-28 17:15:09 +00:00
parent 4b095738d5
commit 9e4b25e833

View File

@@ -1909,7 +1909,7 @@ class MFElement extends DOMElement
{
return $this->parentNode->IsClassNode();
}
elseif ($this->tagName == 'classes')
elseif (($this->tagName == 'classes') && ($this->parentNode->tagName == 'itop_design') ) // Beware: classes/class also exists in the group definition
{
return true;
}