mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fix for bug [ 997669 ] Session Error with db-sessions
This commit is contained in:
parent
4fb9fd8ce4
commit
4346d06789
@ -59,6 +59,8 @@
|
||||
|
||||
function register_session($login,$user_ip,$now,$session_flags)
|
||||
{
|
||||
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_sessions WHERE session_id='$this->sessionsid'",__LINE__,__FILE__);
|
||||
|
||||
$GLOBALS['phpgw']->db->query("INSERT INTO phpgw_sessions VALUES ('" . $this->sessionid
|
||||
. "','".$login."','" . $user_ip . "','"
|
||||
. $now . "','" . $now . "','" . $_SERVER['PHP_SELF'] . "','" . $session_flags
|
||||
|
Loading…
Reference in New Issue
Block a user