From 280513b573f64ded5568dc562b63b02acaa58180 Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Fri, 15 Mar 2024 19:07:57 +0100 Subject: [PATCH] Test: Fix Showing Icons for Correct Answers See: https://mantis.ilias.de/view.php?id=40841 --- .../TestQuestionPool/classes/class.assOrderingQuestionGUI.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Modules/TestQuestionPool/classes/class.assOrderingQuestionGUI.php b/Modules/TestQuestionPool/classes/class.assOrderingQuestionGUI.php index da571dacb385..7bf7d8efe874 100755 --- a/Modules/TestQuestionPool/classes/class.assOrderingQuestionGUI.php +++ b/Modules/TestQuestionPool/classes/class.assOrderingQuestionGUI.php @@ -474,9 +474,6 @@ public function getSolutionOutput( $answers_gui->setCorrectnessTrueElementList( $solutionOrderingList->getParityTrueElementList($this->object->getOrderingElementList()) ); - if (!$show_correct_solution) { - $answers_gui->setShowCorrectnessIconsEnabled(true); - } $solution_html = $answers_gui->getHTML(); $template = new ilTemplate("tpl.il_as_qpl_nested_ordering_output_solution.html", true, true, "Modules/TestQuestionPool");