mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
handle unknown objtype in getAttributeObjectTypeText()
This commit is contained in:
parent
7fcb8da860
commit
2d9297c668
|
@ -320,6 +320,8 @@ function getAttributeObjectTypeText($attrdef) { /* {{{ */
|
|||
case SeedDMS_Core_AttributeDefinition::objtype_documentcontent:
|
||||
$ot = getMLText("documentcontent");
|
||||
break;
|
||||
default:
|
||||
$ot = getMLText('objtype_unknown');
|
||||
}
|
||||
return $ot;
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user