From 2728a623e77686315bfe59fd6272aacca10c052c Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 1 May 2008 21:08:50 +0000 Subject: [PATCH] MDL-14622 fixed regression during install time - thanks Stephen Bourget --- lib/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '