Skip to content
Snippets Groups Projects
Commit f9a58747 authored by Rob Phillips's avatar Rob Phillips
Browse files

Issue #3302735: Notice: Undefined index: visibility

parent fa0c021e
No related branches found
No related tags found
1 merge request!2Issue #3302735: Notice: Undefined index: visibility
......@@ -48,7 +48,7 @@ function comment_delete_form_field_config_edit_form_alter(&$form, FormStateInter
'visible_multiple' => t('Visible when multiple operations are available'),
'invisible' => t('Invisible (always use the default selected operation)'),
],
'#default_value' => $config['visibility'] ?: 'visible',
'#default_value' => $config['visibility'] ?? 'visible',
];
$form['third_party_settings']['comment_delete']['label'] = [
'#type' => 'details',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment