mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +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:
|
case SeedDMS_Core_AttributeDefinition::objtype_documentcontent:
|
||||||
$ot = getMLText("documentcontent");
|
$ot = getMLText("documentcontent");
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
$ot = getMLText('objtype_unknown');
|
||||||
}
|
}
|
||||||
return $ot;
|
return $ot;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user