From 0ec64072a296399e3a018e0eb29520632ec7ca24 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 9 Dec 2008 14:02:22 +0000 Subject: [PATCH] enabling more info FOR THE ERROR_LOG --- phpgwapi/inc/class.egw_session.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index ad0593d4da..c32d05c175 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -739,7 +739,10 @@ class egw_session $this->sessionid = $sessionid; $this->kp3 = $kp3; - if (!$this->sessionid) return false; + if (!$this->sessionid) { + if (self::$errorlog_debug) error_log(__METHOD__."('$sessionid')_REQUEST[sessionid]='$_REQUEST[sessionid]' No session ID"); + return false; + } session_name(self::EGW_SESSION_NAME); session_id($this->sessionid);