Skip to content

Commit

Permalink
XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during r…
Browse files Browse the repository at this point in the history
…estores.
  • Loading branch information
martinlanghoff committed Jan 16, 2007
1 parent da586c3 commit dd3638e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/restorelib.php
Expand Up @@ -5500,7 +5500,7 @@ function restore_execute(&$restore,$info,$course_header,&$errorstr) {
//Saving conversion id variables into backup_tables //Saving conversion id variables into backup_tables
if ($restore->restoreto == 2) { if ($restore->restoreto == 2) {
if (!defined('RESTORE_SILENTLY')) { if (!defined('RESTORE_SILENTLY')) {
echo "<li>".get_string("creatingnewcourse"); echo '<li>'.get_string('creatingnewcourse') . '</li>';
} }
$oldidnumber = $course_header->course_idnumber; $oldidnumber = $course_header->course_idnumber;
if (!$status = restore_create_new_course($restore,$course_header)) { if (!$status = restore_create_new_course($restore,$course_header)) {
Expand All @@ -5521,7 +5521,7 @@ function restore_execute(&$restore,$info,$course_header,&$errorstr) {
if (!empty($oldidnumber)) { if (!empty($oldidnumber)) {
echo "<li>".get_string("nomoreidnumber","moodle",$oldidnumber)."</li>"; echo "<li>".get_string("nomoreidnumber","moodle",$oldidnumber)."</li>";
} }
echo "</ul></li>"; echo "</ul>";
//Put the destination course_id //Put the destination course_id
} }
$restore->course_id = $course_header->course_id; $restore->course_id = $course_header->course_id;
Expand Down

0 comments on commit dd3638e

Please sign in to comment.