diff --git a/src/Bundle/ChillEventBundle/Repository/ParticipationRepository.php b/src/Bundle/ChillEventBundle/Repository/ParticipationRepository.php index 2e42a3ee5..8d348e056 100644 --- a/src/Bundle/ChillEventBundle/Repository/ParticipationRepository.php +++ b/src/Bundle/ChillEventBundle/Repository/ParticipationRepository.php @@ -50,10 +50,8 @@ class ParticipationRepository extends ServiceEntityRepository ->where('p.person = :person_id') ->andWhere('e.circle IN (:reachable_circles)') ->orderBy('e.date', 'ASC') - ->setParameters([ - ':person_id' => $person_id, - ':reachable_circles' => $reachablesCircles, - ]) + ->setParameter('person_id', $person_id) + ->setParameter('reachable_circles', $reachablesCircles) ->setFirstResult($first) ->setMaxResults($max) ->getQuery()