[Form] Fixed double choice fixing

This commit is contained in:
Bernhard Schussek 2012-01-24 01:09:35 +01:00
parent f533ef0e1b
commit 18f92cd331
1 changed files with 1 additions and 1 deletions

View File

@ -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]);