]> git.mjollnir.org Git - moodle.git/commitdiff
XHTML Strrrickt: fixed a problem with a UL and LI tag mix up during restores.
authormartinlanghoff <martinlanghoff>
Tue, 16 Jan 2007 01:06:11 +0000 (01:06 +0000)
committermartinlanghoff <martinlanghoff>
Tue, 16 Jan 2007 01:06:11 +0000 (01:06 +0000)
backup/restorelib.php

index 3175bf04a4d579c3b930dbc68cb354476b884a26..6bedea31d1c12b669a34d02051ac889110f7a8d3 100644 (file)
         //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)) {
                     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;