fix error: flip content of choices field

This commit is contained in:
nobohan 2018-04-05 14:15:50 +02:00
parent d4d14d1a06
commit 6ee9dd56c0

View File

@ -191,7 +191,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();