diff --git a/api/src/Session.php b/api/src/Session.php index ac0b88a604..866b05bdce 100644 --- a/api/src/Session.php +++ b/api/src/Session.php @@ -1496,8 +1496,8 @@ class Session } // update dla in access-log table, if we have an access-log row (non-anonymous session) if ($this->sessionid_access_log && $update_access_log && - // ignore updates (session creation is written) of *dav and avatar, due to possible high volume of updates - !preg_match('#^(/webdav|/groupdav|/api/avatar)\.php#', $this->action) && + // ignore updates (session creation is written) of *dav, avatar and thumbnail, due to possible high volume of updates + !preg_match('#^(/webdav|/groupdav|/api/avatar|/api/thumbnail)\.php#', $this->action) && is_object($GLOBALS['egw']->db)) { $GLOBALS['egw']->db->update(self::ACCESS_LOG_TABLE,array(