Explorar o código

Fixed inconsistency

Henrik Bjørnskov %!s(int64=14) %!d(string=hai) anos
pai
achega
6a0075eee2

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Security/EntityUserProvider.php

@@ -18,7 +18,7 @@ class EntityUserProvider implements UserProviderInterface
         $this->class = $class;
 
         if (false !== strpos($this->class, ':')) {
-            $this->class = $em->getClassMetadata($class)->getName();
+            $this->class = $em->getClassMetadata($class)->name;
         }
 
         $this->repository = $em->getRepository($class);