summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 200829c..2ef86bd 100644
--- a/it.class
+++ b/it.class
@@ -168,7 +168,7 @@ static function error($p = array(), $extra = null)
if ($level["class"] . $level["type"] . $level["function"] == "it::error")
return null; # prevent recursion
- if (!error_reporting() || $p[0] === false || $p['title'] === false) # called with @ or suppressed
+ if (error_reporting() == @error_reporting() || $p[0] === false || $p['title'] === false) # called with @ or suppressed
return $p['fatal'] ? self::_exit($p) : null;
if ($_SERVER['REMOTE_ADDR'])