Skip to content

Commit 3bde9cc

Browse files
committed
Updates settings forms
1 parent 25f35ce commit 3bde9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/os2forms_fasit/src/Form/SettingsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function buildForm(array $form, FormStateInterface $form_state): array {
209209
'type' => 'os2web_key_certificate',
210210
],
211211
'#title' => $this->t('Key'),
212-
'#default_value' => $config->get(self::PROVIDER_TYPE_KEY),
212+
'#default_value' => $certificateConfig[self::PROVIDER_TYPE_KEY] ?? NULL,
213213
'#states' => [
214214
'visible' => [':input[name="certificate[certificate_provider]"]' => ['value' => self::PROVIDER_TYPE_KEY]],
215215
'required' => [':input[name="certificate[certificate_provider]"]' => ['value' => self::PROVIDER_TYPE_KEY]],

0 commit comments

Comments
 (0)