diff --git a/components/ILIAS/Test/classes/class.ilTestCorrectionsGUI.php b/components/ILIAS/Test/classes/class.ilTestCorrectionsGUI.php index 67998e5ad160..6ec7f8b867a0 100755 --- a/components/ILIAS/Test/classes/class.ilTestCorrectionsGUI.php +++ b/components/ILIAS/Test/classes/class.ilTestCorrectionsGUI.php @@ -293,7 +293,7 @@ protected function addAnswer() $this->test_obj, $this->scorer, $this->database - ))->recalculateSolutions(true, $question_index); + ))->recalculateSolutions(true, $question->getId()); if ($this->logger->isLoggingEnabled()) { $this->logger->logQuestionAdministrationInteraction(