aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/wrapper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/river/wrapper.php b/views/default/river/wrapper.php
index e00daa71d..0a38b1ac0 100644
--- a/views/default/river/wrapper.php
+++ b/views/default/river/wrapper.php
@@ -17,6 +17,8 @@
if (empty($subtype)) $subtype = $vars['entity']->type;
if (empty($subtype)) $subtype = "general";
+ } else if ($vars['log']->object_class == "ElggRelationship") {
+ $subtype = "relationship_" . $vars['entity']->relationship;
}
?>