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 e6d5756b5..bdeb9e277 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' => get_entity($object->entity_guid)
+ 'object' => $object->getEntity(),
);
}
$statement = new ElggRiverStatement($by_user_obj, $event, $statement_object);