Skip to content
Snippets Groups Projects
Commit 73cb3bfe authored by Ide Braakman's avatar Ide Braakman Committed by Markus Kalkbrenner
Browse files

Issue #3310536 by nkoporec, idebr, joan gutierrez, chr.fritsch,...

Issue #3310536 by nkoporec, idebr, joan gutierrez, chr.fritsch, uverricardovidaleszu, borisson_, mkalkbrenner: [2.0.x] $request->get may no longer return array as of Symfony 6.0 (BadRequestException)
parent a93ca3f1
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ class FacetBlockAjaxController extends ControllerBase {
// Rebuild the request and the current path, needed for facets.
$path = $request->request->get('facet_link');
$facets_blocks = $request->request->get('facets_blocks');
$facets_blocks = $request->request->all()['facets_blocks'] ?? [];
if (empty($path) || empty($facets_blocks)) {
throw new NotFoundHttpException('No facet link or facet blocks found.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment