mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
fix PHP Fatal Call to a member function update() on null
This commit is contained in:
parent
304a41de19
commit
b121039ef1
@ -1414,7 +1414,7 @@ class Session
|
||||
$this->set_action($action);
|
||||
}
|
||||
// update dla in access-log table, if we have an access-log row (non-anonymous session)
|
||||
if ($this->sessionid_access_log && $update_access_log)
|
||||
if ($this->sessionid_access_log && $update_access_log && is_object($GLOBALS['egw']->db))
|
||||
{
|
||||
$GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(
|
||||
'session_dla' => time(),
|
||||
|
Loading…
Reference in New Issue
Block a user