sanity_check: ERRORS was not imported from global scope

This commit is contained in:
Andrew Dolgov 2014-03-05 16:57:57 +04:00
parent f7439d69cd
commit cacc187732
1 changed files with 1 additions and 0 deletions

View File

@ -1000,6 +1000,7 @@
function sanity_check() {
require_once 'errors.php';
global $ERRORS;
$error_code = 0;
$schema_version = get_schema_version(true);