From 424dba12cfb23186113dacb53248f6724d3b3f5f Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Tue, 11 Apr 2006 07:16:10 +0000 Subject: [PATCH] Fixed typo preventing the editing of multianswer questions. --- question/type/multianswer/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5