From 155819d9ece12a06d37df46e22b76e3c71f65fba Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Tue, 6 Mar 2007 17:31:24 +0000 Subject: [PATCH] Fix session bootstrap git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1554 839d8a87-29fc-0310-9880-83ba4fa771e5 --- classes/corelogger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/corelogger.php b/classes/corelogger.php index c4b909b..58085ab 100644 --- a/classes/corelogger.php +++ b/classes/corelogger.php @@ -34,7 +34,7 @@ class CoreLogger * @param $suid the id of the administrator who has just su'd to the user * @return VOID */ - public function __construct($uid, $suid = null) + public function __construct($uid, $suid = 0) { // write the session entry $this->uid = $uid; @@ -54,7 +54,7 @@ class CoreLogger * @param $suid the id of the administrator who has just su'd to the user * @return session the session id */ - private function writeSession($uid, $suid = null) + private function writeSession($uid, $suid = 0) { $ip = $_SERVER['REMOTE_ADDR']; $host = strtolower(gethostbyaddr($_SERVER['REMOTE_ADDR'])); -- 2.1.4