aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggRiverItem.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggRiverItem.php')
-rw-r--r--engine/classes/ElggRiverItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggRiverItem.php b/engine/classes/ElggRiverItem.php
index 6ff9b01d1..cdb22239d 100644
--- a/engine/classes/ElggRiverItem.php
+++ b/engine/classes/ElggRiverItem.php
@@ -57,7 +57,7 @@ class ElggRiverItem
* @return ElggAnnotation
*/
public function getAnnotation() {
- return get_annotation($this->annotation_id);
+ return elgg_get_annotation_from_id($this->annotation_id);
}
/**