Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Report
Commits
6ee9dd56
Commit
6ee9dd56
authored
Apr 05, 2018
by
Julien Minet
Browse files
fix error: flip content of choices field
parent
d4d14d1a
Pipeline
#46129
failed with stages
in 1 minute and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Controller/ReportController.php
View file @
6ee9dd56
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment