diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-13 12:32:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-13 12:32:43 +0000 |
commit | d611e9c962ce825eb7f4600f27f74c3dc477000f (patch) | |
tree | f5b600ce1ef7e27536548b514b3144ae138f1c7c /engine/lib/annotations.php | |
parent | f03c3bd5bfa8d8425121c769b27c4382147dec65 (diff) | |
download | elgg-d611e9c962ce825eb7f4600f27f74c3dc477000f.tar.gz elgg-d611e9c962ce825eb7f4600f27f74c3dc477000f.tar.bz2 |
Refs #2226 moving riverdashboard into core - need to clean up riverdashboard plugin and move to plugins repository and update plugins with new river views
git-svn-id: http://code.elgg.org/elgg/trunk@7610 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r-- | engine/lib/annotations.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index f858fa8d1..a0665f744 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -595,7 +595,12 @@ function list_annotations($entity_guid, $name = "", $limit = 25, $asc = true) { $offset = (int) get_input("annoff", 0); $annotations = get_annotations($entity_guid, "", "", $name, "", "", $limit, $offset, $asc); - return elgg_view_annotation_list($annotations, $count, $offset, $limit); + $params = array( + 'count' => $count, + 'offset' => $offset, + 'limit' => $count, + ); + return elgg_view_annotation_list($annotations, $params); } /** |