]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed some XHTML notices
authormoodler <moodler>
Mon, 25 Sep 2006 09:32:25 +0000 (09:32 +0000)
committermoodler <moodler>
Mon, 25 Sep 2006 09:32:25 +0000 (09:32 +0000)
lib/adminlib.php

index 4ea81e8a867e00bf2609c99958f697b415288cef..7647806eee31ead5bb0535af158e9fd7a9f4ef9c 100644 (file)
@@ -1610,7 +1610,7 @@ class admin_setting_courselist_frontpage extends admin_setting_configselect {
         }
         $return = '<div class="form-group">';
         for ($i = 0; $i < count($this->choices) - 1; $i++) {
-            $return .='<select class="form-select" id="id_s_'.$this->name.'" name="s_' . $this->name .'[]">';
+            $return .='<select class="form-select" id="id_s_'.$this->name.$i.'" name="s_' . $this->name .'[]">';
             foreach ($this->choices as $key => $value) {
                 $return .= '<option value="' . $key . '"' . ($key == $currentsetting[$i] ? ' selected="selected"' : '') . '>' . $value . '</option>';
             }