forked from extern/egroupware
fix PHP Fatal Call to a member function update() on null
This commit is contained in:
parent
0cf37ba54d
commit
afa17b8236
@ -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