Fix to display correct time for current sessions.

This commit is contained in:
skeeter 2002-10-14 14:26:03 +00:00
parent 6b06c9d9b0
commit 510aeaca5f

View File

@ -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;