Compare commits

...

1 Commits

Author SHA1 Message Date
vdumas
05b69208a8 N°5160 - Hiding a DashboardAttribute on the fly does not work - WIP 2022-05-17 11:01:18 +02:00

View File

@@ -1732,6 +1732,7 @@ abstract class DBObject implements iDisplay
$iFlags = 0; // By default (if no life cycle) no flag at all
$sClass = get_class($this);
// The code below prevents to hide a DashboardAttribute for eg.
$aReadOnlyAtts = $this->GetReadOnlyAttributes();
if (($aReadOnlyAtts != null) && (in_array($sAttCode, $aReadOnlyAtts)))
{