aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/usersettings/statistics_opt/online.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/usersettings/statistics_opt/online.php b/views/default/usersettings/statistics_opt/online.php
index 4e150fa81..51bdab7d6 100644
--- a/views/default/usersettings/statistics_opt/online.php
+++ b/views/default/usersettings/statistics_opt/online.php
@@ -13,7 +13,8 @@
$user = $_SESSION['user'];
$logged_in = 0;
- $log = get_system_log($_SESSION['user']->guid, "login", "ElggUser", 1);
+ $log = get_system_log($_SESSION['user']->guid, "login", "", 'user', '', 1);
+
if ($log)
$logged_in=$log[0]->time_created;