aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/wrapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/river/wrapper.php b/views/default/river/wrapper.php
index 957cbcc78..78692eaef 100644
--- a/views/default/river/wrapper.php
+++ b/views/default/river/wrapper.php
@@ -11,10 +11,10 @@
* @link http://elgg.com/
*/
- if (isset($vars['object']) && $vars['object'] instanceof ElggEntity) {
+ if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) {
- $subtype = $vars['object']->subtype;
- if (empty($subtype)) $subtype = $vars['object']->type;
+ $subtype = $vars['entity']->subtype;
+ if (empty($subtype)) $subtype = $vars['entity']->type;
if (empty($subtype)) $subtype = "general";
}