mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-28517 question editing fixed duplicate id in hint header field
This commit is contained in:
parent
6f05796919
commit
43e607ca79
@ -355,7 +355,7 @@ abstract class question_edit_form extends moodleform {
|
||||
$mform = $this->_form;
|
||||
|
||||
$repeated = array();
|
||||
$repeated[] = $mform->createElement('header', 'answerhdr', get_string('hintn', 'question'));
|
||||
$repeated[] = $mform->createElement('header', 'hinthdr', get_string('hintn', 'question'));
|
||||
$repeated[] = $mform->createElement('editor', 'hint', get_string('hinttext', 'question'),
|
||||
array('rows' => 5), $this->editoroptions);
|
||||
$repeatedoptions['hint']['type'] = PARAM_RAW;
|
||||
|
Loading…
x
Reference in New Issue
Block a user