aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt/online.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/statistics_opt/online.php')
-rw-r--r--views/default/admin/statistics_opt/online.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/admin/statistics_opt/online.php b/views/default/admin/statistics_opt/online.php
index 50a207c03..f8721f3c3 100644
--- a/views/default/admin/statistics_opt/online.php
+++ b/views/default/admin/statistics_opt/online.php
@@ -10,8 +10,10 @@
* @link http://elgg.org/
*/
- // users online
- $users_online = get_online_users();
+ // users online
+ get_context('search');
+ $users_online = get_online_users();
+ get_context('admin');
?>
<div>