Use syntax that works with http-foundation 6.
This commit is contained in:
parent
74d6c6584c
commit
e650f3a19b
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class AdvancedSearchQuery {
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue