mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2677 - Add style definition for enums (fix CI)
This commit is contained in:
@@ -1796,6 +1796,10 @@ class FieldExpression extends UnaryExpression
|
||||
$sRes = Dict::S('UI:UndefinedObject');
|
||||
}
|
||||
}
|
||||
elseif ($oAttDef instanceof AttributeEnum)
|
||||
{
|
||||
$sRes = $oAttDef->GetAsPlainText($sValue);
|
||||
}
|
||||
if(is_null($sRes))
|
||||
{
|
||||
$sRes = $oAttDef->GetAsHtml($sValue);
|
||||
|
||||
Reference in New Issue
Block a user