From ad18d94489c20599ac1080a8b4f7f3199f206fdf Mon Sep 17 00:00:00 2001 From: Kavalar Date: Thu, 29 Aug 2024 13:13:51 +0300 Subject: [PATCH] table filter fix --- src/ListJsonTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']; } }