MDL-38382: Update will show minor number with leading zeros (if any)

This commit is contained in:
Rajesh Taneja
2013-03-08 10:14:02 +08:00
parent cce0d9a100
commit c22a579bed
+2 -2
View File
@@ -208,8 +208,8 @@ if ($version > $CFG->version) { // upgrade
if (empty($confirmupgrade)) {
$a = new stdClass();
$a->oldversion = "$CFG->release ($CFG->version)";
$a->newversion = "$release ($version)";
$a->oldversion = "$CFG->release (".sprintf('%.2f', $CFG->version).")";
$a->newversion = "$release (".sprintf('%.2f', $version).")";
$strdatabasechecking = get_string('databasechecking', '', $a);
$PAGE->set_title($stradministration);