Sfoglia il codice sorgente

#564 Prompt for an update in a case log on a lifecycle transition. Can be retrofitted easily.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3687 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 anni fa
parent
commit
fb6ef14bbc
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      application/cmdbabstract.class.inc.php

+ 1 - 2
application/cmdbabstract.class.inc.php

@@ -2400,11 +2400,10 @@ EOF
 		$iFieldIndex = 0;
 		$aFieldsMap = array();
 
-		$aDetailsList =$this->FlattenZList(MetaModel::GetZListItems($sClass, 'details'));
 		// Order the fields based on their dependencies, set the fields for which there is only one possible value
 		// and perform this in the order of dependencies to avoid dead-ends
 		$aDeps = array();
-		foreach($aDetailsList as $sAttCode)
+		foreach(MetaModel::GetAttributesList($sClass) as $sAttCode)
 		{
 			$aDeps[$sAttCode] = MetaModel::GetPrequisiteAttributes($sClass, $sAttCode);
 		}