From 8b5faf6b66f9b710038cca0cfa17d27123ea7a78 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 19 Aug 2015 12:42:49 +0000 Subject: [PATCH] #564 Prompt for an update in a case log on a lifecycle transition. Can be retrofitted easily. SVN:trunk[3687] --- application/cmdbabstract.class.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 61833c788f..b7622f7968 100644 --- a/application/cmdbabstract.class.inc.php +++ b/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); }