X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..2361fd9ab05767886f84cde6f8b3199fd323ebf7:/Repository/ApplicationRepository.php diff --git a/Repository/ApplicationRepository.php b/Repository/ApplicationRepository.php index 3112d14..57acc37 100644 --- a/Repository/ApplicationRepository.php +++ b/Repository/ApplicationRepository.php @@ -15,7 +15,7 @@ class ApplicationRepository extends \Doctrine\ORM\EntityRepository { public function findOneBySessionUser($session, $user) { //Fetch article $ret = $this->getEntityManager() - ->createQuery('SELECT a FROM RapsysAirBundle:Application a WHERE (a.session = :session AND a.user = :user)') + ->createQuery('SELECT a FROM Rapsys\AirBundle\Entity\Application a WHERE (a.session = :session AND a.user = :user)') ->setParameter('session', $session) ->setParameter('user', $user) ->getSingleResult();