diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/river/wrapper.php | 2 |
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";
|