diff --git a/components/ILIAS/Test/src/Settings/MainSettings/class.SettingsMainGUI.php b/components/ILIAS/Test/src/Settings/MainSettings/class.SettingsMainGUI.php index e6951e802d9a..4726aa655c4c 100755 --- a/components/ILIAS/Test/src/Settings/MainSettings/class.SettingsMainGUI.php +++ b/components/ILIAS/Test/src/Settings/MainSettings/class.SettingsMainGUI.php @@ -791,6 +791,7 @@ protected function getOrganisationalUnitsActivationInput(): ?Checkbox $this->lng->txt('obj_orgunit_positions_info') )->withValue( (new \ilOrgUnitObjectPositionSetting($this->test_object->getId()))->isActive() + ?? $position_settings->getActivationDefault() === \ilOrgUnitObjectTypePositionSetting::DEFAULT_ON ); if (!$position_settings->isChangeableForObject()) { return $enable_organisational_units_access->withDisabled(true);