From e650f3a19bcee79793fd1cef72544ce72310ac63 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Mon, 14 Aug 2023 11:40:26 -0300 Subject: [PATCH] Use syntax that works with http-foundation 6. --- src/AdvancedSearchQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AdvancedSearchQuery.php b/src/AdvancedSearchQuery.php index 628a152..e0e555f 100644 --- a/src/AdvancedSearchQuery.php +++ b/src/AdvancedSearchQuery.php @@ -85,7 +85,7 @@ public static function getRecurseParameter() { public function getTerms(Request $request) { $terms = []; if ($request->query->has($this->queryParameter)) { - $query_params = $request->query->get($this->queryParameter); + $query_params = $request->query->all()[$this->queryParameter]; if (is_array($query_params)) { foreach ($query_params as $params) { $terms[] = AdvancedSearchQueryTerm::fromQueryParams($params);