diff --git a/lib/setup.php b/lib/setup.php index 2aaa92354ff..cd37f971123 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -292,7 +292,7 @@ global $HTTPSPAGEREQUIRED; } /// detect unsupported upgrade jump as soon as possible - do not change anything, do not use system functions - if ($CFG->version < 2007101509) { + if (!empty($CFG->version) and $CFG->version < 2007101509) { echo '