summaryrefslogtreecommitdiff
path: root/it_auto_prepend.php
diff options
context:
space:
mode:
Diffstat (limited to 'it_auto_prepend.php')
-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