Skip to content

Commit

Permalink
Use syntax that works with http-foundation 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel authored Aug 14, 2023
1 parent 74d6c65 commit e650f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdvancedSearchQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e650f3a

Please sign in to comment.