diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/ConfigType.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php index 4cf22200..74c53bf0 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ConfigType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ConfigType.php | |||
@@ -32,7 +32,6 @@ class ConfigType extends AbstractType | |||
32 | $builder | 32 | $builder |
33 | ->add('theme', ChoiceType::class, [ | 33 | ->add('theme', ChoiceType::class, [ |
34 | 'choices' => array_flip($this->themes), | 34 | 'choices' => array_flip($this->themes), |
35 | 'choices_as_values' => true, | ||
36 | 'label' => 'config.form_settings.theme_label', | 35 | 'label' => 'config.form_settings.theme_label', |
37 | ]) | 36 | ]) |
38 | ->add('items_per_page', null, [ | 37 | ->add('items_per_page', null, [ |
@@ -49,7 +48,6 @@ class ConfigType extends AbstractType | |||
49 | ]) | 48 | ]) |
50 | ->add('language', ChoiceType::class, [ | 49 | ->add('language', ChoiceType::class, [ |
51 | 'choices' => array_flip($this->languages), | 50 | 'choices' => array_flip($this->languages), |
52 | 'choices_as_values' => true, | ||
53 | 'label' => 'config.form_settings.language_label', | 51 | 'label' => 'config.form_settings.language_label', |
54 | ]) | 52 | ]) |
55 | ->add('save', SubmitType::class, [ | 53 | ->add('save', SubmitType::class, [ |
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php index f3f848e9..bc59c9a1 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | |||
@@ -113,7 +113,6 @@ class EntryFilterType extends AbstractType | |||
113 | ]) | 113 | ]) |
114 | ->add('language', ChoiceFilterType::class, [ | 114 | ->add('language', ChoiceFilterType::class, [ |
115 | 'choices' => array_flip($this->repository->findDistinctLanguageByUser($this->user->getId())), | 115 | 'choices' => array_flip($this->repository->findDistinctLanguageByUser($this->user->getId())), |
116 | 'choices_as_values' => true, | ||
117 | 'label' => 'entry.filters.language_label', | 116 | 'label' => 'entry.filters.language_label', |
118 | ]) | 117 | ]) |
119 | ; | 118 | ; |