]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14622 fixed regression during install time - thanks Stephen Bourget
authorskodak <skodak>
Thu, 1 May 2008 21:08:50 +0000 (21:08 +0000)
committerskodak <skodak>
Thu, 1 May 2008 21:08:50 +0000 (21:08 +0000)
lib/setup.php

index 2aaa92354ff073fea6214557d8d97c2c5d80ec51..cd37f9711237b7086f1db3980a1cd1c21a87e0ba 100644 (file)
@@ -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 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>