aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r--engine/lib/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index bdeb9e277..9fa93b172 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -229,7 +229,7 @@
} else if ($object instanceof ElggExtender) {
$statement_object = array(
'subject' => $object,
- 'object' => $object->getEntity(),
+ 'object' => get_entity($object->entity_guid)
);
}
$statement = new ElggRiverStatement($by_user_obj, $event, $statement_object);