FilterEditor: Accept null for method setColumns()

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-13 11:30:26 +02:00
parent 9ad14fc644
commit 069fcc40ea
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}