Commit 1b4bb4f7 authored by Julien Minet's avatar Julien Minet
Browse files

fix deprecations: flip content of choice type

parent 4519a1c9
Pipeline #46035 failed with stages
in 1 minute and 42 seconds
......@@ -138,7 +138,7 @@ class ReportController extends Controller
'csrf_protection' => false
))
->add('cFGroup', ChoiceType::class, array(
'choices' => $cFGroupsChoice,
'choices' => array_combine(array_values($cFGroupsChoice),array_keys($cFGroupsChoice)),
'choices_as_values' => true
))
->getForm();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment