From 735f92e84e40f4b1ad3a65a342f96ddf5f8b1052 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Fri, 12 Feb 2016 22:47:32 +0100 Subject: [PATCH] [Form] remove deprecated empty_value_in_choices --- src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php b/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php index dfe4ffb092..21011cb033 100644 --- a/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php +++ b/src/Symfony/Component/Form/Extension/Core/Type/ChoiceType.php @@ -210,9 +210,6 @@ class ChoiceType extends AbstractType $view->vars['placeholder'] = $options['placeholder']; } - // BC - $view->vars['empty_value_in_choices'] = $view->vars['placeholder_in_choices']; - if ($options['multiple'] && !$options['expanded']) { // Add "[]" to the name in case a select tag with multiple options is // displayed. Otherwise only one of the selected options is sent in the