X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..484e99987490d5b250841f3a04e38bd6ee46c3ad:/Repository/ApplicationRepository.php?ds=inline 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();