N°1408 - Dashboard Attribute (removed from "Properties" tab in edition)

This commit is contained in:
Eric
2018-12-18 16:32:46 +01:00
parent 8b2c18ab8c
commit 92657951c7

View File

@@ -778,7 +778,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())