mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
fix deprecations: use fqcn + change 'property' in 'choice_label'
This commit is contained in:
@@ -63,7 +63,7 @@ class TranslatableActivityReasonCategory extends AbstractType
|
||||
$resolver->setDefaults(
|
||||
array(
|
||||
'class' => 'ChillActivityBundle:ActivityReasonCategory',
|
||||
'property' => 'name['.$locale.']',
|
||||
'choice_label' => 'name['.$locale.']',
|
||||
'query_builder' => function (EntityRepository $er) {
|
||||
return $er->createQueryBuilder('c')
|
||||
->where('c.active = true');
|
||||
|
Reference in New Issue
Block a user