Commit 4d65e1c9 authored by Julien Minet's avatar Julien Minet

fix deprecations

parent c7c0830d
Pipeline #46065 failed with stages
in 6 minutes and 7 seconds
......@@ -75,7 +75,7 @@ class Select2MaritalStatusType extends AbstractType
$resolver->setDefaults(array(
'class' => 'Chill\PersonBundle\Entity\MaritalStatus',
'choices' => $choices
'choices' => array_combine(array_values($choices),array_keys($choices))
));
}
}
Markdown is supported
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