X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..118fc8a9aab25928ded9316835b4597eda2f8326:/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();