aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 15:43:35 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 15:43:35 +0000
commit12937666d1d5bebb5d3b72160145791c97b6faf5 (patch)
tree673d2b355a1e95e8b23a951793af92a9eb24baf0 /engine/lib/river.php
parentb7af7728b559fc8c7de03f1646092783bca7d07d (diff)
downloadelgg-12937666d1d5bebb5d3b72160145791c97b6faf5.tar.gz
elgg-12937666d1d5bebb5d3b72160145791c97b6faf5.tar.bz2
Fix for river items when the item is an annotation, not an entity in itself
git-svn-id: https://code.elgg.org/elgg/trunk@1441 36083f99-b078-4883-b0ff-0f9b5a30f544
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);