mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix deprecations: flip content of choice type
This commit is contained in:
parent
4519a1c92c
commit
1b4bb4f7bc
@ -138,7 +138,7 @@ class ReportController extends Controller
|
|||||||
'csrf_protection' => false
|
'csrf_protection' => false
|
||||||
))
|
))
|
||||||
->add('cFGroup', ChoiceType::class, array(
|
->add('cFGroup', ChoiceType::class, array(
|
||||||
'choices' => $cFGroupsChoice,
|
'choices' => array_combine(array_values($cFGroupsChoice),array_keys($cFGroupsChoice)),
|
||||||
'choices_as_values' => true
|
'choices_as_values' => true
|
||||||
))
|
))
|
||||||
->getForm();
|
->getForm();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user