From 57c7065800e6bc6d9ed60863336e5e262cbdd307 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 21 Feb 2024 22:56:44 +0000 Subject: [PATCH] fixup --- questiontype.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/questiontype.php b/questiontype.php index 27973bc..28ffacc 100644 --- a/questiontype.php +++ b/questiontype.php @@ -316,8 +316,8 @@ public function get_num_correct_choices(stdClass $questiondata): int { } public function get_possible_responses($questiondata) { - $question = $this->make_question_instance($questiondata); - $this->initialise_question_instance($question, $questiondata); + $question = $this->make_question($questiondata); + $subqs = []; $responses = []; foreach ($question->rows as $rowid => $row) {