Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed notices in Grid/Column/Column #1047

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
8 changes: 8 additions & 0 deletions Grid/Column/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@ public function setData($data)
*/
public function getData()
{
if (!\is_array($this->data)){
return [];
}

$result = [];

$hasValue = false;
Expand Down Expand Up @@ -685,6 +689,10 @@ public function getFilterType()

public function getFilters($source)
{
if (!\is_array($this->data)) {
return [];
}

$filters = [];

if ($this->hasOperator($this->data['operator'])) {
Expand Down