8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d528b74 commit e0b768bCopy full SHA for e0b768b
src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php
@@ -122,7 +122,7 @@ protected function getMetadata($class)
122
123
$this->cache[$class] = null;
124
foreach ($this->registry->getEntityManagers() as $name => $em) {
125
- if ($em->getConfiguration()->getMetadataDriverImpl()->isTransient($class)) {
+ if (!$em->getConfiguration()->getMetadataDriverImpl()->isTransient($class)) {
126
return $this->cache[$class] = array($em->getClassMetadata($class), $name);
127
}
128
0 commit comments