diff --git a/include/functions.php b/include/functions.php index 37efefbca..deddf358f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1000,6 +1000,7 @@ function sanity_check() { require_once 'errors.php'; + global $ERRORS; $error_code = 0; $schema_version = get_schema_version(true);