diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 23:36:31 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 23:36:31 +0000 |
commit | 46061672ab8e34ce887504c58ade5b148ee54d7a (patch) | |
tree | 6e4dbd0db525e5d2b8611b061462b116ea5b1f9c | |
parent | 5a16071104623a6c9f6bc1821e1915b24b2aae96 (diff) | |
download | elgg-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
-rw-r--r-- | engine/lib/views.php | 2 |
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 = ''; |