aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings/statistics_opt/online.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-22 17:34:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-22 17:34:03 +0000
commitb60ad756d98c4bfe6847c8cadbc461c61e399b0c (patch)
tree4fd0b0d6cf359ec8e73f43776b8ed1aa008a9ba9 /views/default/usersettings/statistics_opt/online.php
parentf05a92d4e0df4edcc50eb1f3aa62641d6675186a (diff)
downloadelgg-b60ad756d98c4bfe6847c8cadbc461c61e399b0c.tar.gz
elgg-b60ad756d98c4bfe6847c8cadbc461c61e399b0c.tar.bz2
Closes #702: Correct parameters fed to get_system_log
git-svn-id: https://code.elgg.org/elgg/trunk@2602 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/usersettings/statistics_opt/online.php')
-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;