From ce619a87117bb3be955ac06e1e3069e84f99dff6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 5 May 2011 15:50:22 +0000 Subject: [PATCH] do NOT query sessionid_access_log for anonymous sessions, as they get not loged anyway --- phpgwapi/inc/class.egw_session.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index 978316fdfd..32e4dbad42 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -982,7 +982,7 @@ class egw_session } // query accesslog-id, if not set in session (session is made persistent after login!) - if (!$this->sessionid_access_log) + if (!$this->sessionid_access_log && $this->session_flags != 'A') { $this->sessionid_access_log = $GLOBALS['egw']->db->select(self::ACCESS_LOG_TABLE,'sessionid',array( 'session_php' => $this->sessionid,