mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Fixed typo preventing the editing of multianswer questions.
This commit is contained in:
parent
12ef2c40d9
commit
424dba12cf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue