From: stronk7 Date: Mon, 7 Sep 2009 08:05:01 +0000 (+0000) Subject: fixed notice (and bug) introduced by MDL-19787 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8e6e14ae3aeae3a0311a23d485604b07d685345e;p=moodle.git fixed notice (and bug) introduced by MDL-19787 --- diff --git a/admin/xmldb/actions/edit_field/edit_field.class.php b/admin/xmldb/actions/edit_field/edit_field.class.php index 1711946239..9edc53717b 100644 --- a/admin/xmldb/actions/edit_field/edit_field.class.php +++ b/admin/xmldb/actions/edit_field/edit_field.class.php @@ -166,9 +166,9 @@ class edit_field extends XMLDBAction { $o.= ' '; $o.= ' ' . $OUTPUT->select($select) . ''; /// xmldb_field Sequence + $sequenceoptions = array (0 => $this->str['no'], 1 => 'auto-numbered'); $select = html_select::make($sequenceoptions, 'sequence', $field->getSequence(), false); $select->nothingvalue = ''; - $sequenceoptions = array (0 => $this->str['no'], 1 => 'auto-numbered'); $o.= ' '; $o.= ' ' . $OUTPUT->select($select) . ''; /// xmldb_field Default