Skip to content
Snippets Groups Projects
Commit 404633d6 authored by Jaime Pérez's avatar Jaime Pérez
Browse files

Merge pull request #73 from thijskh/master

Also check $errno against PHP's error_reporting.
parents 0f867fb7 04da32d7
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = NULL, $errline = 0 ...@@ -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. */ /* Masked error. */
return FALSE; return FALSE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment