Selaa lähdekoodia

fixed previous commit

Fabien Potencier 14 vuotta sitten
vanhempi
commit
b77a6e7dcd

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Request/ParamConverter/DoctrineConverter.php

@@ -73,7 +73,7 @@ class DoctrineConverter implements ConverterInterface
         }
 
         if (!$criteria) {
-            return false;
+            return null;
         }
 
         return $this->manager->getRepository($class)->findOneBy($criteria);