From 510aeaca5fb856b47be6d3dc66939dd90ec58750 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 14 Oct 2002 14:26:03 +0000 Subject: [PATCH] Fix to display correct time for current sessions. --- admin/inc/class.bocurrentsessions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.bocurrentsessions.inc.php b/admin/inc/class.bocurrentsessions.inc.php index 46d53bfcee..dbaf4fa877 100644 --- a/admin/inc/class.bocurrentsessions.inc.php +++ b/admin/inc/class.bocurrentsessions.inc.php @@ -53,7 +53,7 @@ 'session_logintime' => $GLOBALS['phpgw']->common->show_date($value['session_logintime']), 'session_action' => $value['session_action'], 'session_dla' => $value['session_dla'], - 'session_idle' => gmdate('G:i:s',(time() - $value['session_dla'])) + 'session_idle' => gmdate('G:i:s',($GLOBALS['phpgw']->datetime->gmtnow - $value['session_dla'])) ); } return $_values;