table filter fix

This commit is contained in:
Kavalar 2024-08-29 13:13:51 +03:00
parent 453917ea1a
commit ad18d94489

View File

@ -148,9 +148,9 @@ class ListJsonTable extends JasonTable
private function getCurrentFilter(string $column) 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 (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']; return $this->beforePrintCell[$column]['filter'];
} }
} }