Skip to content
Snippets Groups Projects

Issue #3519418: Undefined array key "suggestions_dropdown"

Merged Pierre BONNEFOI requested to merge issue/tagify-3519418:3519418-undefined-array-key into 1.2.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -85,7 +85,7 @@ class TagifyEntityAutocompleteController extends ControllerBase {
// stored in the key/value store.
$selection_settings = $this->keyValue('entity_autocomplete')->get($selection_settings_key, FALSE);
// Validate the autocomplete minimum length.
if ($input === '' && $selection_settings['suggestions_dropdown']) {
if ($input === '' && isset($selection_settings['suggestions_dropdown']) && $selection_settings['suggestions_dropdown']) {
return new JsonResponse([]);
}
Loading