aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 17:24:54 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 17:24:54 +0000
commit243a2261cc17920ec3a2dc6e4df5d5f5aa6f35fd (patch)
tree2a9869ce7083df5d2784488c303e79ee83f89a22 /views/default
parent2676da24e1f132ded78d2ab2f4138fae6d38f7d1 (diff)
downloadelgg-243a2261cc17920ec3a2dc6e4df5d5f5aa6f35fd.tar.gz
elgg-243a2261cc17920ec3a2dc6e4df5d5f5aa6f35fd.tar.bz2
Fixed a subtype bug in the river item wrapper.
git-svn-id: https://code.elgg.org/elgg/trunk@1276 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/wrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/river/wrapper.php b/views/default/river/wrapper.php
index 78692eaef..e00daa71d 100644
--- a/views/default/river/wrapper.php
+++ b/views/default/river/wrapper.php
@@ -13,7 +13,7 @@
if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) {
- $subtype = $vars['entity']->subtype;
+ $subtype = $vars['entity']->getSubtype();
if (empty($subtype)) $subtype = $vars['entity']->type;
if (empty($subtype)) $subtype = "general";