mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Update form builder parameter in SearchController
Changed the first argument in the `createNamedBuilder` method from `null` to an empty string. This adjustment ensures the form factory correctly creates the builder in the SearchController.
This commit is contained in:
parent
785c01d42d
commit
60c7ea601c
@ -211,7 +211,7 @@ class SearchController extends AbstractController
|
|||||||
$builder = $this
|
$builder = $this
|
||||||
->get('form.factory')
|
->get('form.factory')
|
||||||
->createNamedBuilder(
|
->createNamedBuilder(
|
||||||
null,
|
'',
|
||||||
FormType::class,
|
FormType::class,
|
||||||
$data,
|
$data,
|
||||||
['method' => Request::METHOD_POST]
|
['method' => Request::METHOD_POST]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user