From: gustav_delius Date: Tue, 11 Apr 2006 07:16:10 +0000 (+0000) Subject: Fixed typo preventing the editing of multianswer questions. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=424dba12cfb23186113dacb53248f6724d3b3f5f;p=moodle.git Fixed typo preventing the editing of multianswer questions. --- diff --git a/question/type/multianswer/questiontype.php b/question/type/multianswer/questiontype.php index 01afd52638..913d645343 100644 --- a/question/type/multianswer/questiontype.php +++ b/question/type/multianswer/questiontype.php @@ -59,7 +59,7 @@ class embedded_cloze_qtype extends default_questiontype { // will also create difficulties if questiontype specific tables reference the id. // First we get all the existing wrapped questions - if (!$oldwrappedids = get_field('question_multianswers', 'sequence', 'question', $question->id)) { + if (!$oldwrappedids = get_field('question_multianswer', 'sequence', 'question', $question->id)) { $oldwrappedids = array(); } else { $oldwrappedids = explode(',', $oldwrappedids);