diff options
author | Christian Schneider | 2020-12-03 16:00:15 +0100 |
---|---|---|
committer | Christian Schneider | 2020-12-03 16:00:15 +0100 |
commit | a7f4311e91040e6510df5b559b6daa008497ab10 (patch) | |
tree | 4d9830790fe8f0b2bfe71865bbb4e4842da9813d /it.class | |
parent | bd653f3a1b385892186cb9fca491ee9ec5e9bbed (diff) | |
download | itools-a7f4311e91040e6510df5b559b6daa008497ab10.tar.gz itools-a7f4311e91040e6510df5b559b6daa008497ab10.tar.bz2 itools-a7f4311e91040e6510df5b559b6daa008497ab10.zip |
Use PHP 8 compatible way of detecting @ operator (does not set error_reporting to 0 any longer)
Diffstat (limited to 'it.class')
-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']) |