Skip to content

Commit

Permalink
Merge pull request #36 from Islandora/rosiel-patch-1
Browse files Browse the repository at this point in the history
Use syntax that works with http-foundation 6.
  • Loading branch information
aOelschlager authored Sep 25, 2023
2 parents 74d6c65 + e650f3a commit 15703a1
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 15703a1

Please sign in to comment.