From fbeb299273f045500e0b6fe290e546101e1a6c80 Mon Sep 17 00:00:00 2001 From: Rootie Date: Thu, 30 Jun 2016 09:10:11 +0200 Subject: [PATCH] Fixed BC Layer in DoctrineChoiceLoader in the case when the BC Layer is used $idReader is not set to the right value. --- .../Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php | 1 + 1 file changed, 1 insertion(+) 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; }