Skip to content

Commit d870753

Browse files
committed
bug symfony#19241 Fixed BC Layer in DoctrineChoiceLoader (Rootie)
This PR was merged into the 3.2-dev branch. Discussion ---------- Fixed BC Layer in DoctrineChoiceLoader | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | in the case when the BC Layer is used $idReader is not set to the right value. Commits ------- c44d71c Fixed BC Layer in DoctrineChoiceLoader
2 parents 76708ec + c44d71c commit d870753

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public function __construct($manager, $class, $idReader = null, $objectLoader =
7575
// form first to last argument as of 3.1
7676
$manager = $class;
7777
$class = $idReader;
78+
$idReader = $objectLoader;
7879
$objectLoader = $factory;
7980
}
8081

0 commit comments

Comments
 (0)