mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 15:34:12 +01:00
N°642 Portal: Flags on transition, fixed a bug with state form not reading DM flags correctly.
SVN:trunk[4793]
This commit is contained in:
@@ -527,9 +527,7 @@ class ObjectFormManager extends FormManager
|
||||
if (array_key_exists($sAttCode, $aFieldsAtts))
|
||||
{
|
||||
// .. We merge them all
|
||||
if($this->IsTransitionForm()) {
|
||||
$aFieldsAtts[$sAttCode] = $aFieldsAtts[$sAttCode] | $iFieldFlags;
|
||||
}
|
||||
$aFieldsAtts[$sAttCode] = $aFieldsAtts[$sAttCode] | $iFieldFlags;
|
||||
}
|
||||
// - or it is mandatory and has no value
|
||||
if ((($iFieldFlags & OPT_ATT_MANDATORY) === OPT_ATT_MANDATORY) && ($this->oObject->Get($sAttCode) === ''))
|
||||
|
||||
Reference in New Issue
Block a user