mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°3914 Fix portal tables getting backoffice markup for enum attributes
This commit is contained in:
@@ -1345,6 +1345,9 @@ class ObjectController extends BrickController
|
||||
}
|
||||
$aAttData['value'] = '<img src="'.$sUrl.'" />';
|
||||
}
|
||||
elseif ($oAttDef instanceof AttributeEnum) {
|
||||
$aAttData['value'] = $oAttDef->GetAsPlainText($oObject->Get($oAttDef->GetCode()));
|
||||
}
|
||||
else
|
||||
{
|
||||
$aAttData['value'] = $oAttDef->GetAsHTML($oObject->Get($oAttDef->GetCode()));
|
||||
|
||||
Reference in New Issue
Block a user