Browse Source

Error context is removed from PHP 8

pdontthink 3 years ago
parent
commit
06880e1ceb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      class/error.class.php

+ 1 - 1
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;