From b60ad756d98c4bfe6847c8cadbc461c61e399b0c Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 22 Jan 2009 17:34:03 +0000 Subject: Closes #702: Correct parameters fed to get_system_log git-svn-id: https://code.elgg.org/elgg/trunk@2602 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/usersettings/statistics_opt/online.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default') 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; -- cgit v1.2.3