diff --git a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php index 3026850627..72f961a501 100644 --- a/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php +++ b/src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php @@ -75,6 +75,7 @@ class DoctrineChoiceLoader implements ChoiceLoaderInterface // form first to last argument as of 3.1 $manager = $class; $class = $idReader; + $idReader = $objectLoader; $objectLoader = $factory; }