Skip to content

Commit

Permalink
Fixed state for no category added
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyun committed Aug 31, 2020
1 parent 2ee5901 commit 1afb1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os2forms.module
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function os2forms_webform_admin_third_party_settings_form_alter(&$form, FormStat
'#title' => t('Migrate webforms to category'),
'#description' => t('After migration webforms will get this category.'),
'#options' => $webform_entity_storage->getCategories(),
'#empty_value' => 'none',
'#empty_value' => '',
'#default_value' => $third_party_settings_manager->getThirdPartySetting('os2forms', 'migrate_to_category') ?: FALSE,
];
}
Expand Down

0 comments on commit 1afb1b2

Please sign in to comment.