From 18f92cd331897a21de27cd82170ed45272b6c15c Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Tue, 24 Jan 2012 01:09:35 +0100 Subject: [PATCH] [Form] Fixed double choice fixing --- .../Component/Form/Extension/Core/ChoiceList/ChoiceList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php index 5059fb2454..261a96a663 100644 --- a/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php +++ b/src/Symfony/Component/Form/Extension/Core/ChoiceList/ChoiceList.php @@ -283,7 +283,7 @@ class ChoiceList implements ChoiceListInterface foreach ($this->choices as $i => $choice) { foreach ($choices as $j => $givenChoice) { - if ($choice === $this->fixChoice($givenChoice)) { + if ($choice === $givenChoice) { $indices[] = $i; unset($choices[$j]);