mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-17 09:24:11 +01:00
N°5160 - Hiding a DashboardAttribute on the fly does not work - WIP
This commit is contained in:
@@ -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)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user