Skip to content

Commit

Permalink
DC: Fix of #37894
Browse files Browse the repository at this point in the history
  • Loading branch information
Amstutz committed Sep 13, 2023
1 parent 4a22033 commit 35b053e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Modules/DataCollection/classes/class.ilObjDataCollectionGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,11 +547,11 @@ protected function getEditFormCustomValues(array &$a_values): void

protected function updateCustom(ilPropertyFormGUI $form): void
{
$this->object->setOnline($form->getInput("is_online"));
$this->object->setRating($form->getInput("rating"));
$this->object->setPublicNotes($form->getInput("public_notes"));
$this->object->setApproval($form->getInput("approval"));
$this->object->setNotification($form->getInput("notification"));
$this->object->setOnline((bool)$form->getInput("is_online"));
$this->object->setRating((bool)$form->getInput("rating"));
$this->object->setPublicNotes((bool)$form->getInput("public_notes"));
$this->object->setApproval((bool)$form->getInput("approval"));
$this->object->setNotification((bool)$form->getInput("notification"));

$this->object_service->commonSettings()->legacyForm($form, $this->object)->saveTileImage();

Expand Down

0 comments on commit 35b053e

Please sign in to comment.