From 46061672ab8e34ce887504c58ade5b148ee54d7a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 24 Nov 2010 23:36:31 +0000 Subject: Fixes #2664: elgg_view_entity subtype defaults to "default" rather than $type git-svn-id: http://code.elgg.org/elgg/trunk@7441 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/views.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''; -- cgit v1.2.3