init $t and $ot

This commit is contained in:
Uwe Steinmann 2023-01-26 21:05:53 +01:00
parent 23bd194007
commit 2ab8cd5215

View File

@ -263,6 +263,7 @@ function getOverallStatusText($status) { /* {{{ */
} /* }}} */
function getAttributeTypeText($attrdef) { /* {{{ */
$t = '';
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_int:
$t = getMLText("attrdef_type_int");
@ -305,6 +306,7 @@ function getAttributeTypeText($attrdef) { /* {{{ */
} /* }}} */
function getAttributeObjectTypeText($attrdef) { /* {{{ */
$ot = '';
switch($attrdef->getObjType()) {
case SeedDMS_Core_AttributeDefinition::objtype_all:
$ot = getMLText("all");