diff --git a/module_alfresco/src/main/java/com/atolcd/alfresco/web/scripts/shareStats/SelectNodeTypesGet.java b/module_alfresco/src/main/java/com/atolcd/alfresco/web/scripts/shareStats/SelectNodeTypesGet.java index f1446d95..2a44e703 100644 --- a/module_alfresco/src/main/java/com/atolcd/alfresco/web/scripts/shareStats/SelectNodeTypesGet.java +++ b/module_alfresco/src/main/java/com/atolcd/alfresco/web/scripts/shareStats/SelectNodeTypesGet.java @@ -115,7 +115,7 @@ public List selectNodeType(AuditQueryParameters params, String qu QName typeQName = QName.createQName(myNodeType, this.namespaceService); if (Boolean.valueOf(dictionaryService.isSubClass(typeQName, ContentModel.TYPE_CONTENT))) { String nodeTypeLabel = this.dictionaryService.getType(typeQName).getTitle(this.dictionaryService); - auditNodeType.setNodeTypeLabel(nodeTypeLabel); + auditNodeType.setNodeTypeLabel(nodeTypeLabel != null ? nodeTypeLabel : myNodeType); res.add(auditNodeType); }