From 005900fd2aa55d635cba175dfc8539d2d41e2ed0 Mon Sep 17 00:00:00 2001 From: Colin Chambers Date: Fri, 29 Jul 2011 14:23:01 +0100 Subject: [PATCH] MDL-28517 question editing fixed duplicate id in hint header field --- question/type/edit_question_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/edit_question_form.php b/question/type/edit_question_form.php index b08e7fbd6b8..757099bf30b 100644 --- a/question/type/edit_question_form.php +++ b/question/type/edit_question_form.php @@ -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;