aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 23:36:31 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 23:36:31 +0000
commit46061672ab8e34ce887504c58ade5b148ee54d7a (patch)
tree6e4dbd0db525e5d2b8611b061462b116ea5b1f9c /engine
parent5a16071104623a6c9f6bc1821e1915b24b2aae96 (diff)
downloadelgg-46061672ab8e34ce887504c58ade5b148ee54d7a.tar.gz
elgg-46061672ab8e34ce887504c58ade5b148ee54d7a.tar.bz2
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
Diffstat (limited to 'engine')
-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 = '';