Browse Source

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3004 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 years ago
parent
commit
14aa4c7421
1 changed files with 1 additions and 1 deletions
  1. 1 1
      setup/modelfactory.class.inc.php

+ 1 - 1
setup/modelfactory.class.inc.php

@@ -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;
 		}