Skip to content

Commit

Permalink
Test: Fix Returning Reference in Question
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Oct 23, 2024
1 parent 15a137b commit e4ee371
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function getSolutionOutput(

$template = new ilTemplate("tpl.il_as_qpl_textsubset_output_solution.html", true, true, "components/ILIAS/TestQuestionPool");
$solutiontemplate = new ilTemplate("tpl.il_as_tst_solution_output.html", true, true, "components/ILIAS/TestQuestionPool");
$available_answers = &$this->object->getAvailableAnswers();
$available_answers = $this->object->getAvailableAnswers();
for ($i = 0; $i < $this->object->getCorrectAnswers(); $i++) {
if (!array_key_exists($i, $solutions) || (strcmp($solutions[$i]["value1"], "") == 0)) {
} else {
Expand Down

0 comments on commit e4ee371

Please sign in to comment.