mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 14:40:06 +01:00
MDL-14622 fixed regression during install time - thanks Stephen Bourget
This commit is contained in:
parent
9f43efbf20
commit
2728a623e7
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user