From 771bae287323b98535b402d79f8c24e82503bcc6 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 12 Oct 2021 00:16:30 +0000 Subject: [PATCH] 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 --- class/error.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1