Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Feb 21, 2024
1 parent 4b82336 commit 57c7065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 57c7065

Please sign in to comment.