Browse Source

Backend : correctif newsletter

feature/export_comptable
Guillaume 4 years ago
parent
commit
250c413886
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      ShopBundle/Repository/UserRepository.php

+ 0
- 1
ShopBundle/Repository/UserRepository.php View File

@@ -32,7 +32,6 @@ class UserRepository extends BaseRepository implements DefaultRepositoryInterfac
return $this->createQueryBuilder('e')
->where(':newsletter MEMBER OF e.newsletters')
->setParameter('newsletter', $newsletter->getId())
->andWhere('e.enabled = 1')
->innerJoin('e.userMerchants', 'um')
->andWhere('um.merchant = :merchant AND um.active = 1')
->setParameter('merchant', $newsletter->getMerchant())

Loading…
Cancel
Save