Skip to content

Commit 404633d

Browse files
committed
Merge pull request simplesamlphp#73 from thijskh/master
Also check $errno against PHP's error_reporting.
2 parents 0f867fb + 04da32d commit 404633d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

www/_include.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0
5454
}
5555

5656

57-
if ($errno & SimpleSAML_Utilities::$logMask) {
57+
if ($errno & SimpleSAML_Utilities::$logMask || ! ($errno & error_reporting() )) {
5858
/* Masked error. */
5959
return FALSE;
6060
}

0 commit comments

Comments
 (0)