Skip to content
Snippets Groups Projects
Commit b7e99d22 authored by Roman Gudev's avatar Roman Gudev Committed by Mark Quirvien Cristobal
Browse files

Issue #3350657: Expected a scalar value as a 2nd argument to "InputBag::get()", "array" given

parent 19248cef
No related branches found
No related tags found
1 merge request!7Issue #3350657: Expected a scalar value as a 2nd argument to "InputBag::get()", "array" given
......@@ -37,7 +37,7 @@ class Bootstrap4ModalRenderer extends DialogRenderer {
// Determine the title: use the title provided by the main content if any,
// otherwise get it from the routing information.
$options = $request->request->get('dialogOptions', []);
$options = $request->request->all()['dialogOptions'] ?? [];
$response->addCommand(new OpenBootstrap4ModalDialogCommand($title, $content, $options));
return $response;
......
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