diff options
Diffstat (limited to 'mod/riverdashboard/views/default/river/item')
-rw-r--r-- | mod/riverdashboard/views/default/river/item/wrapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/riverdashboard/views/default/river/item/wrapper.php b/mod/riverdashboard/views/default/river/item/wrapper.php index 6dd4e91d3..cd474df2a 100644 --- a/mod/riverdashboard/views/default/river/item/wrapper.php +++ b/mod/riverdashboard/views/default/river/item/wrapper.php @@ -18,7 +18,7 @@ $likes_count = elgg_count_likes($object); //user //if displaying on the profile get the object owner, else the subject_guid -if (get_context() == 'profile' && $object->getSubtype() == 'thewire') { +if (elgg_get_context() == 'profile' && $object->getSubtype() == 'thewire') { $user = get_entity($object->owner_guid); } else { $user = get_entity($vars['item']->subject_guid); |