Permalink
Browse files

XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during r…

…estores.
  • Loading branch information...
1 parent da586c3 commit dd3638e47e66ae5de3d521dd17203c64b8b1edf3 martinlanghoff committed Jan 16, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/restorelib.php
View
4 backup/restorelib.php
@@ -5500,7 +5500,7 @@ function restore_execute(&$restore,$info,$course_header,&$errorstr) {
//Saving conversion id variables into backup_tables
if ($restore->restoreto == 2) {
if (!defined('RESTORE_SILENTLY')) {
- echo "<li>".get_string("creatingnewcourse");
+ echo '<li>'.get_string('creatingnewcourse') . '</li>';
}
$oldidnumber = $course_header->course_idnumber;
if (!$status = restore_create_new_course($restore,$course_header)) {
@@ -5521,7 +5521,7 @@ function restore_execute(&$restore,$info,$course_header,&$errorstr) {
if (!empty($oldidnumber)) {
echo "<li>".get_string("nomoreidnumber","moodle",$oldidnumber)."</li>";
}
- echo "</ul></li>";
+ echo "</ul>";
//Put the destination course_id
}
$restore->course_id = $course_header->course_id;

0 comments on commit dd3638e

Please sign in to comment.