diff --git a/src/ListJsonTable.php b/src/ListJsonTable.php index f573b53..53a4d30 100644 --- a/src/ListJsonTable.php +++ b/src/ListJsonTable.php @@ -148,9 +148,9 @@ class ListJsonTable extends JasonTable private function getCurrentFilter(string $column) { - if (is_array($this->beforePrintCell[$column])) { + if (isset($this->beforePrintCell[$column]) and is_array($this->beforePrintCell[$column])) { if (isset($this->beforePrintCell[$column]['filter'])) { - if (is_array($this->beforePrintCell[$column]['filter'])) { + if (isset($this->beforePrintCell[$column]['filter']) and is_array($this->beforePrintCell[$column]['filter'])) { return $this->beforePrintCell[$column]['filter']; } }