N°1408 - Use dashboards only in read-only mode

This commit is contained in:
Eric
2018-10-09 10:42:15 +02:00
parent 2460d2112f
commit 15671f6dd4
2 changed files with 2 additions and 2 deletions

View File

@@ -776,7 +776,7 @@ EOF
$iFlags = $iFlags | $aExtraFlags[$sAttCode];
}
$oAttDef = MetaModel::GetAttributeDef($sClass, $sAttCode);
if ((!$oAttDef->IsLinkSet()) && (($iFlags & OPT_ATT_HIDDEN) == 0))
if ((!$oAttDef->IsLinkSet()) && (($iFlags & OPT_ATT_HIDDEN) == 0) && !($oAttDef instanceof AttributeDashboard))
{
$sInputId = $this->m_iFormId.'_'.$sAttCode;
if ($oAttDef->IsWritable())