handle unknown objtype in getAttributeObjectTypeText()

This commit is contained in:
Uwe Steinmann 2023-04-18 12:50:53 +02:00
parent 7fcb8da860
commit 2d9297c668

View File

@ -320,6 +320,8 @@ function getAttributeObjectTypeText($attrdef) { /* {{{ */
case SeedDMS_Core_AttributeDefinition::objtype_documentcontent:
$ot = getMLText("documentcontent");
break;
default:
$ot = getMLText('objtype_unknown');
}
return $ot;
} /* }}} */