diff --git a/packages/zend-session/library/Zend/Session/Exception.php b/packages/zend-session/library/Zend/Session/Exception.php index 4aeaadae1..8fea2eaac 100644 --- a/packages/zend-session/library/Zend/Session/Exception.php +++ b/packages/zend-session/library/Zend/Session/Exception.php @@ -53,7 +53,7 @@ class Zend_Session_Exception extends Zend_Exception * @param string $errstr * @return void */ - static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext) + static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext = null) { self::$sessionStartError = $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr; } @@ -66,7 +66,7 @@ static public function handleSessionStartError($errno, $errstr, $errfile, $errli * @param string $errstr * @return void */ - static public function handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext) + static public function handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext = null) { self::$sessionStartError .= PHP_EOL . $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr; }