aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/statistics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-18 07:20:54 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-18 07:20:54 -0400
commit0ac3aa92df97ea7fd06bdcbb744b6c910cdb09ed (patch)
treeae3e67a882ff6502c6bd5e0babf182c93f5bd2dd /engine/lib/statistics.php
parent098976fd34e6c98675a20c19fd54329ec44f6261 (diff)
downloadelgg-0ac3aa92df97ea7fd06bdcbb744b6c910cdb09ed.tar.gz
elgg-0ac3aa92df97ea7fd06bdcbb744b6c910cdb09ed.tar.bz2
Fixes #4483 fixes undefined variable errors for non-deprecated functions in engine
Diffstat (limited to 'engine/lib/statistics.php')
-rw-r--r--engine/lib/statistics.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php
index e1f95ed97..5ee640549 100644
--- a/engine/lib/statistics.php
+++ b/engine/lib/statistics.php
@@ -95,8 +95,8 @@ function get_number_users($show_deactivated = false) {
* @return string
*/
function get_online_users() {
- $count = find_active_users(600, 10, $offset, true);
- $objects = find_active_users(600, 10, $offset);
+ $count = find_active_users(600, 10, 0, true);
+ $objects = find_active_users(600, 10);
if ($objects) {
return elgg_view_entity_list($objects, array(