Error context is removed from PHP 8
[squirrelmail.git] / class / error.class.php
index 3725004318cf27d56a11fba577bf41a93b487977..0b9ab2497db39646548eda2bdfe3e95bb6dd061f 100644 (file)
@@ -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;