MDL-28517 question editing fixed duplicate id in hint header field

This commit is contained in:
Colin Chambers
2011-08-04 14:54:11 +01:00
parent f664cb7c29
commit 005900fd2a
+1 -1
View File
@@ -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;