X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/userbundle/blobdiff_plain/54584cb90e0fb87fb60a381ab02494552640df91..a05ca3ee708ab4a453a0b9960f81a218131144ab:/Repository/UserRepository.php?ds=sidebyside diff --git a/Repository/UserRepository.php b/Repository/UserRepository.php index 13dc2f0..27339b2 100644 --- a/Repository/UserRepository.php +++ b/Repository/UserRepository.php @@ -48,7 +48,7 @@ SQL; $rsm->addScalarResult('count', 'count', 'integer'); //Get result - return $this->_em + return $this->manager ->createNativeQuery($req, $rsm) ->getSingleScalarResult(); } @@ -106,7 +106,7 @@ SQL; ->addScalarResult('g_title', 'g_title', 'string'); //Fetch result - $res = $this->_em + $res = $this->manager ->createNativeQuery($req, $rsm) ->setParameter('offset', $page * $count) ->setParameter('count', $count)