Allow using zero-keys in Filter widget options
This commit is contained in:
parent
4d1bec860d
commit
6f691680cf
|
|
@ -742,7 +742,8 @@ class Filter extends WidgetBase
|
|||
}
|
||||
|
||||
foreach ($options as $option) {
|
||||
if (!$id = array_get($option, 'id')) {
|
||||
$id = array_get($option, 'id');
|
||||
if ($id === null) {
|
||||
continue;
|
||||
}
|
||||
$processed[$id] = array_get($option, 'name');
|
||||
|
|
|
|||
Loading…
Reference in New Issue