X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=class%2Ferror.class.php;h=74441be323d453a061b5f16ab09c842201988741;hb=HEAD;hp=3725004318cf27d56a11fba577bf41a93b487977;hpb=3741e45c786934b2411434847a2ffc2f1d7b34d5;p=squirrelmail.git diff --git a/class/error.class.php b/class/error.class.php index 37250043..e9913cd5 100644 --- a/class/error.class.php +++ b/class/error.class.php @@ -5,7 +5,7 @@ * * This contains the custom error handler for SquirrelMail. * - * @copyright 2005-2021 The SquirrelMail Project Team + * @copyright 2005-2024 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -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;