mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
FilterEditor: Do not show an empty line at the bottom of the select
This commit is contained in:
parent
41b80efa0e
commit
63fb8dcafa
@ -593,7 +593,7 @@ class FilterEditor extends AbstractWidget
|
||||
}
|
||||
|
||||
$cols = $this->cachedColumnSelect;
|
||||
if (! isset($cols[$active])) {
|
||||
if ($active && !isset($cols[$active])) {
|
||||
$cols[$active] = str_replace('_', ' ', ucfirst(ltrim($active, '_')));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user