Skip to content

Commit

Permalink
Test: Fix Inconsisten Behavior Part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Nov 5, 2024
1 parent 996fe71 commit e7ebd7b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit e7ebd7b

Please sign in to comment.