X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..6bdbe1c589d50c191e02149bdc078ce1a6b1ee38:/Repository/ApplicationRepository.php?ds=sidebyside 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();