summaryrefslogtreecommitdiffstats
path: root/src/Sde/WebserviceBundle/Repository/AssociationRepository.php
diff options
context:
space:
mode:
authorChristophe Coevoet <stof@notk.org>2011-06-07 02:01:21 +0200
committerChristophe Coevoet <stof@notk.org>2011-06-07 02:01:21 +0200
commitdd5f4005639489cc27779778481420520553df9c (patch)
tree10644f03b88c827ebcdcb0440e4fef5047d285b5 /src/Sde/WebserviceBundle/Repository/AssociationRepository.php
parent6633957f20c1fe86021f9c0fa1ed8a8648ca3f05 (diff)
Updated vendorsHEADmaster
Diffstat (limited to 'src/Sde/WebserviceBundle/Repository/AssociationRepository.php')
-rw-r--r--src/Sde/WebserviceBundle/Repository/AssociationRepository.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sde/WebserviceBundle/Repository/AssociationRepository.php b/src/Sde/WebserviceBundle/Repository/AssociationRepository.php
index edd4818..fb51529 100644
--- a/src/Sde/WebserviceBundle/Repository/AssociationRepository.php
+++ b/src/Sde/WebserviceBundle/Repository/AssociationRepository.php
@@ -36,7 +36,7 @@ class AssociationRepository extends EntityRepository
*/
public function searchByName($name)
{
- $qb = new QueryBuilder($this->_em);
+ $qb = $this->getEntityManager()->createQueryBuilder();
$qb->select('a')
->from('Sde\WebserviceBundle\Entity\Association', 'a')
->where('a.name LIKE :name')