mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
Fixed regression introduced in [3224] thus in iTop 2.0.3, in the data model view: could not see the OQL constraints on external keys
SVN:trunk[3385]
This commit is contained in:
@@ -450,7 +450,14 @@ function DisplayClassDetails($oPage, $sClass, $sContext)
|
||||
}
|
||||
$sAllowedValues = implode(', ', $aDescription);
|
||||
}
|
||||
else $sAllowedValues = '';
|
||||
elseif (is_object($oAllowedValuesDef = $oAttDef->GetValuesDef()))
|
||||
{
|
||||
$sAllowedValues = $oAllowedValuesDef->GetValuesDescription();
|
||||
}
|
||||
else
|
||||
{
|
||||
$sAllowedValues = '';
|
||||
}
|
||||
|
||||
$aDetails[] = array('code' => $oAttDef->GetCode(), 'type' => $sType, 'origin' => $sOrigin, 'label' => $oAttDef->GetLabel(), 'description' => $sValue, 'values' => $sAllowedValues, 'moreinfo' => $sMoreInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user