Commit b2e47db4 authored by Martin Keereman's avatar Martin Keereman
Browse files

Issue #3117052 by super_romeo: Notice: Undefined index: value in getExposedFilterWidgetType()

parent e5d5ed2d
......@@ -328,7 +328,7 @@ abstract class FilterWidgetBase extends BetterExposedFiltersWidgetBase implement
/** @var \Drupal\views\Plugin\views\filter\FilterPluginBase $filter */
$filter->buildExposedForm($form, $form_state);
return $form[$filter_id]['#type'] ?? $form[$filter_id]['value']['#type'];
return $form[$filter_id]['#type'] ?? $form[$filter_id]['value']['#type'] ?? '';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment