@@ -25,7 +25,7 @@ class UserRepository extends BaseRepository implements DefaultRepositoryInterfac | |||
return $this->createQueryBuilder('e') | |||
->innerJoin('e.userMerchants', "userMerchants") | |||
->andWhere('userMerchants.merchant = :currentMerchant') | |||
->setParameter('currentMerchant', $$merchant) ; | |||
->setParameter('currentMerchant', $merchant) ; | |||
} | |||
public function findAllByNewsletter($newsletter) |