Merge branch 'MDL-46212_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE
This commit is contained in:
@@ -613,7 +613,7 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
foreach ($question->options->answers as $answer) {
|
||||
foreach ($extraanswerfields as $field) {
|
||||
// See hack comment in {@link data_preprocessing_answers()}.
|
||||
unset($this->_form->_defaultValues["$field[$key]"]);
|
||||
unset($this->_form->_defaultValues["{$field}[{$key}]"]);
|
||||
$extrafieldsdata[$field][$key] = $this->data_preprocessing_extra_answer_field($answer, $field);
|
||||
}
|
||||
$key++;
|
||||
|
||||
Reference in New Issue
Block a user