From bad1fde0bf52f2f61034bad2673ee40c3292050f Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Fri, 3 Jan 2025 14:14:03 +0200 Subject: [PATCH] Test: Fix UsrPassOverviewMode Must be Int See: https://mantis.ilias.de/view.php?id=43396 --- components/ILIAS/Test/classes/class.ilObjTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ILIAS/Test/classes/class.ilObjTest.php b/components/ILIAS/Test/classes/class.ilObjTest.php index 024ec5b3773b..cc9362c0d811 100755 --- a/components/ILIAS/Test/classes/class.ilObjTest.php +++ b/components/ILIAS/Test/classes/class.ilObjTest.php @@ -5854,7 +5854,7 @@ public function applyDefaults(array $test_defaults): bool ->withUsePreviousAnswerAllowed((bool) $testsettings['use_previous_answers']) ->withSuspendTestAllowed((bool) $testsettings['ShowCancel']) ->withPostponedQuestionsMoveToEnd((bool) $testsettings['SequenceSettings']) - ->withUsrPassOverviewMode($testsettings['ListOfQuestionsSettings']) + ->withUsrPassOverviewMode((int) $testsettings['ListOfQuestionsSettings']) ->withQuestionMarkingEnabled((bool) $testsettings['ShowMarker']) ) ->withFinishingSettings(