From: pdontthink Date: Tue, 12 Oct 2021 00:16:30 +0000 (+0000) Subject: Error context is removed from PHP 8 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=771bae287323b98535b402d79f8c24e82503bcc6;p=squirrelmail.git Error context is removed from PHP 8 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14931 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/error.class.php b/class/error.class.php index 37250043..0b9ab249 100644 --- a/class/error.class.php +++ b/class/error.class.php @@ -104,7 +104,7 @@ class ErrorHandler { * @private * @since 1.5.1 */ - function SquirrelMailErrorhandler($iErrNo, $sErrStr, $sErrFile, $iErrLine, $aContext) { + function SquirrelMailErrorhandler($iErrNo, $sErrStr, $sErrFile, $iErrLine, $aContext=NULL) { $aError = array( 'type' => SQM_NOTICE,// Error type, notice, warning or fatal error; 'category' => NULL, // SquirrelMail error category;