diff --git a/lib/ezutils/classes/ezdebug.php b/lib/ezutils/classes/ezdebug.php index d45852a5af9..4c8ede8eec7 100644 --- a/lib/ezutils/classes/ezdebug.php +++ b/lib/ezutils/classes/ezdebug.php @@ -1968,6 +1968,9 @@ private static function isAllowedByCurrentIP( $allowedIpList ) */ public static function exceptionErrorHandler( $errno, $errstr, $errfile, $errline ) { + if (!(error_reporting() & $errno)) { + return; + } throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }