diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-06-23 09:18:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-23 09:18:18 +0200 |
commit | d37bb05c881bfdbeb1144b327edd4dcc2cbb163f (patch) | |
tree | 1b90f7e733a83af4741a8cb7f49edf3e303f8677 /src/Wallabag/CoreBundle/Form/Type/ConfigType.php | |
parent | 891a026e31ad54ca90b70f6026f23260cfadb7fd (diff) | |
parent | 99451fe4b76051d61922a6beb7ee9e79cc6e7893 (diff) | |
download | wallabag-d37bb05c881bfdbeb1144b327edd4dcc2cbb163f.tar.gz wallabag-d37bb05c881bfdbeb1144b327edd4dcc2cbb163f.tar.zst wallabag-d37bb05c881bfdbeb1144b327edd4dcc2cbb163f.zip |
Merge pull request #2132 from wallabag/sf3.1
Jump to Symfony 3.1
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/ConfigType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/ConfigType.php | 2 |
1 files changed, 0 insertions, 2 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, [ |