mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
fixed notice (and bug) introduced by MDL-19787
This commit is contained in:
parent
837b38eedb
commit
8e6e14ae3a
@ -166,9 +166,9 @@ class edit_field extends XMLDBAction {
|
||||
$o.= ' <tr valign="top"><td><label for="menunotnull" accesskey="n">Not Null:</label></td>';
|
||||
$o.= ' <td colspan="2">' . $OUTPUT->select($select) . '</td></tr>';
|
||||
/// 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.= ' <tr valign="top"><td><label for="menusequence" accesskey="s">Sequence:</label></td>';
|
||||
$o.= ' <td colspan="2">' . $OUTPUT->select($select) . '</td></tr>';
|
||||
/// xmldb_field Default
|
||||
|
Loading…
x
Reference in New Issue
Block a user