diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php index 9e3a67887..698a2d763 100644 --- a/library/Icinga/Web/Widget/FilterEditor.php +++ b/library/Icinga/Web/Widget/FilterEditor.php @@ -540,9 +540,9 @@ class FilterEditor extends AbstractWidget ); } - public function setColumns(array $columns) + public function setColumns(array $columns = null) { - $this->cachedColumnSelect = $this->arrayForSelect($columns); + $this->cachedColumnSelect = $columns ? $this->arrayForSelect($columns) : null; return $this; }