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();