diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 3de2d210e..8f7ea76e9 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -3085,7 +3085,7 @@ EOF // Attribute is read-only $sHTMLValue = $this->GetAsHTML($sAttCode); - $sHTMLValue .= ''; + $sHTMLValue .= ''; $aFieldsMap[$sAttCode] = $sInputId; $sComment .= $sSynchroIcon; } @@ -3262,7 +3262,11 @@ EOF $currValue = $aKeys[0]; // The only value is the first key //echo "
current value for $sAttCode : $currValue
"; $oDummyObj->Set($sAttCode, $currValue); - $aComments[$sAttCode] = ''; + $aComments[$sAttCode] = ''; + if ($sAttCode != MetaModel::GetStateAttributeCode($sClass)) + { + $aComments[$sAttCode] .= ''; + } $aComments[$sAttCode] .= '