From: brettp Date: Fri, 22 Apr 2011 18:43:29 +0000 (+0000) Subject: Fixes some deprecated notices in admin online user widget. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e16d25be93c835056a88f91022c9f8d71508d170;p=lorea%2Felgg.git Fixes some deprecated notices in admin online user widget. git-svn-id: http://code.elgg.org/elgg/trunk@9013 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php index 4e822e8af..cd2b7a6a1 100644 --- a/engine/lib/statistics.php +++ b/engine/lib/statistics.php @@ -100,7 +100,11 @@ function get_online_users() { $objects = find_active_users(600, 10, $offset); if ($objects) { - return elgg_view_entity_list($objects, $count, $offset, 10, false); + return elgg_view_entity_list($objects, array( + 'count' => $count, + 'offset' => $offset, + 'limit' => 10 + )); } }