aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/ElggRelationship
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/ElggRelationship')
-rw-r--r--views/default/river/ElggRelationship/create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/river/ElggRelationship/create.php b/views/default/river/ElggRelationship/create.php
index 95f27b512..27c0a8e9e 100644
--- a/views/default/river/ElggRelationship/create.php
+++ b/views/default/river/ElggRelationship/create.php
@@ -12,7 +12,7 @@
$performed_by = $vars['performed_by'];
$log_entry = $vars['log_entry'];
- $object = $vars['object'];
+ $object = $vars['entity'];
// Find out what type of relationship we're dealing with (will only display a few)
if ($object instanceof ElggRelationship)