summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2021-03-21 17:16:14 +0100
committerChristian Schneider2021-03-21 17:16:14 +0100
commit6e9d304c9503e88fdac90a39aaff923f072618c8 (patch)
tree37142181ed47a2dc70f4fe04922a200afa76cf83
parent021e5fa60d004f32a1cada8b816478eb6ad76a70 (diff)
downloaditools-6e9d304c9503e88fdac90a39aaff923f072618c8.tar.gz
itools-6e9d304c9503e88fdac90a39aaff923f072618c8.tar.bz2
itools-6e9d304c9503e88fdac90a39aaff923f072618c8.zip
Make errorhandler PHP 8 compatible
-rw-r--r--it_auto_prepend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_auto_prepend.php b/it_auto_prepend.php
index d02bcde..d65bc7b 100644
--- a/it_auto_prepend.php
+++ b/it_auto_prepend.php
@@ -188,7 +188,7 @@ function it_classloader($classname)
EDC('ultraclassloader', $classname, it_debug::backtrace());
}
-function it_errorhandler($errno, $errstr, $errfile, $errline, $errcontext)
+function it_errorhandler($errno, $errstr, $errfile, $errline, $errcontext = [])
{
$error_reporting = error_reporting(0); # Disable error reporting while handling error