From ad3badd102831ae2b18428f0c72947dde6b56e9d Mon Sep 17 00:00:00 2001 From: Maximilian Becker Date: Thu, 5 May 2022 07:40:07 +0200 Subject: [PATCH] Merge pull request #4312 from fneumann/fix7-mantis31263 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit proposed fix for 31263: falsche Rückmeldung bei mehreren Durchläufen --- Modules/Test/classes/class.ilTestPlayerAbstractGUI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/Test/classes/class.ilTestPlayerAbstractGUI.php b/Modules/Test/classes/class.ilTestPlayerAbstractGUI.php index b5ba2498a3af..1b26414542c9 100755 --- a/Modules/Test/classes/class.ilTestPlayerAbstractGUI.php +++ b/Modules/Test/classes/class.ilTestPlayerAbstractGUI.php @@ -369,7 +369,8 @@ protected function populateSpecificFeedbackBlock(assQuestionGUI $question_gui) protected function populateGenericFeedbackBlock(assQuestionGUI $question_gui, $solutionCorrect) { - $feedback = $question_gui->getGenericFeedbackOutput($this->testSession->getActiveId(), null); + // fix #031263: add pass + $feedback = $question_gui->getGenericFeedbackOutput($this->testSession->getActiveId(), $this->testSession->getPass()); if (strlen($feedback)) { $cssClass = (