aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 15:28:25 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-09 15:28:25 +0000
commite877cf0f55df9703345325c9182cabd1c22c22d1 (patch)
tree4d49663b1248648bf490c23f63cd5a1ffaea2c0c /engine/lib/elgglib.php
parent4e8504f3c9f82ad48ada71ead81d0bfea4913c52 (diff)
downloadelgg-e877cf0f55df9703345325c9182cabd1c22c22d1.tar.gz
elgg-e877cf0f55df9703345325c9182cabd1c22c22d1.tar.bz2
Refs #81: Subtype can be returned on a non-saved entity.
git-svn-id: https://code.elgg.org/elgg/trunk@1363 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index c2cc9cff8..722591ab4 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -276,7 +276,6 @@
if (!isset($entity_class)) return false;
$subtype = $entity->getSubtype();
-
if (empty($subtype)) { $subtype = $entity_type; }
if (elgg_view_exists("{$entity_type}/{$subtype}",$viewtype)) {