mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Fixed typo preventing the editing of multianswer questions.
This commit is contained in:
parent
12ef2c40d9
commit
424dba12cf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user