diff --git a/www/_include.php b/www/_include.php index 071da63dd86717adc2140c7d8002bad3d3322318..c8f5e922b02a6e3b29aae29794b6481471e83bd3 100644 --- a/www/_include.php +++ b/www/_include.php @@ -54,7 +54,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0 } - if ($errno & SimpleSAML_Utilities::$logMask) { + if ($errno & SimpleSAML_Utilities::$logMask || ! ($errno & error_reporting() )) { /* Masked error. */ return FALSE; }