diff --git a/system/functions.php b/system/functions.php index 2b4445a6..a06894f6 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1312,7 +1312,7 @@ function getCustomPage($name, &$success): string { global $php_errors; $php_errors[] = array('errno' => $errno, 'errstr' => $errstr); - } + }; set_error_handler($errorHandler); global $config;