diff options
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index a3f8f0bb9..a14853359 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -507,7 +507,10 @@ function export_annotation_plugin_hook($hook, $entity_type, $returnvalue, $param $guid = (int)$params['guid']; $name = $params['name']; - $result = get_annotations($guid); + $result = elgg_get_annotations(array( + 'guid' => $guid, + 'limit' => 0 + )); if ($result) { foreach ($result as $r) { |