diff --git a/inc/inc.Language.php b/inc/inc.Language.php index 9dbcc1819..47e32c6e9 100644 --- a/inc/inc.Language.php +++ b/inc/inc.Language.php @@ -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");