diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) |