Commit 3a869942 authored by fgm's avatar fgm Committed by Neslee Canil Pinto
Browse files

Issue #3222049 by fgm: Undefined array key "bef_format" in better_exposed_filters_update_8002

parent 61b98b36
......@@ -163,9 +163,8 @@ function better_exposed_filters_update_8002() {
if ($type === 'filter') {
$field_name = $type;
// Sliders.
if ($option['bef_format'] === 'bef_slider') {
if (($option['bef_format'] ?? '') === 'bef_slider') {
$needs_update = TRUE;
// Update plugin name to 'bef_sliders'.
$bef_settings['filter'][$field_name] = [
'plugin_id' => 'bef_sliders',
......
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