summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-03-05 16:57:57 +0400
committerAndrew Dolgov <[email protected]>2014-03-05 16:57:57 +0400
commitcacc187732e564d643b13a2a0916da0f3365de95 (patch)
treed07c8cc2339d9608440e1bd127fb3fedd83cb133 /include
parentf7439d69cdca5ed6060ad6fe9b85673dd8955906 (diff)
sanity_check: ERRORS was not imported from global scope
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
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);