diff --git a/extend/catcher/CatchQuery.php b/extend/catcher/CatchQuery.php index 9284fe5..e22d040 100644 --- a/extend/catcher/CatchQuery.php +++ b/extend/catcher/CatchQuery.php @@ -111,6 +111,10 @@ class CatchQuery extends Query { $params = \request()->param(); + if (empty($params)) { + return $this; + } + return $this->withSearch(array_keys($params), Utils::filterSearchParams($params)); }