From e7ebd7be31a9161e6c52636db723b059f538567c Mon Sep 17 00:00:00 2001 From: Stephan Kergomard Date: Tue, 5 Nov 2024 16:55:38 +0100 Subject: [PATCH] Test: Fix Inconsisten Behavior Part 2 --- .../ILIAS/TestQuestionPool/classes/class.assKprimChoiceGUI.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/ILIAS/TestQuestionPool/classes/class.assKprimChoiceGUI.php b/components/ILIAS/TestQuestionPool/classes/class.assKprimChoiceGUI.php index 958b8f2842e5..32e4f05974f2 100755 --- a/components/ILIAS/TestQuestionPool/classes/class.assKprimChoiceGUI.php +++ b/components/ILIAS/TestQuestionPool/classes/class.assKprimChoiceGUI.php @@ -255,8 +255,6 @@ public function writeQuestionSpecificPostData(ilPropertyFormGUI $form): void if (!$this->object->getSelfAssessmentEditingMode()) { $this->object->setAnswerType($form->getItemByPostVar('answer_type')->getValue()); - } else { - $this->object->setAnswerType(assKprimChoice::ANSWER_TYPE_MULTI_LINE); } if (!$this->object->getSelfAssessmentEditingMode() && $this->object->isSingleLineAnswerType($old_answer_type)) {