From: skodak Date: Thu, 1 May 2008 21:08:50 +0000 (+0000) Subject: MDL-14622 fixed regression during install time - thanks Stephen Bourget X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2728a623e77686315bfe59fd6272aacca10c052c;p=moodle.git MDL-14622 fixed regression during install time - thanks Stephen Bourget --- diff --git a/lib/setup.php b/lib/setup.php index 2aaa92354f..cd37f97112 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 '