aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 0c9e83bab..bf133f592 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -710,7 +710,7 @@ function elgg_view_entity(ElggEntity $entity, $full = false, $bypass = true, $de
$subtype = $entity->getSubtype();
if (empty($subtype)) {
- $subtype = $entity_type;
+ $subtype = 'default';
}
$contents = '';