From 4a15305505a8c2ce06adbee10bdb77b7fdba1c35 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Wed, 28 Aug 2024 14:24:25 +0300 Subject: [PATCH] some fix --- src/ListJsonTable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ListJsonTable.php b/src/ListJsonTable.php index 98058e0..accede0 100644 --- a/src/ListJsonTable.php +++ b/src/ListJsonTable.php @@ -283,9 +283,9 @@ class ListJsonTable extends JasonTable // 'name' => $key // ]); // $this->html .= $objItem->fetch(); - $arr = $this->getCurrentFilter($key); - $class = new $arr['class']([ - 'param' => $arr['param'], + $filter = $this->getCurrentFilter($key); + $class = new $filter['class']([ + 'param' => $filter['param'], 'name' => $key ]); $this->html .= $class->fetch();