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

return $this->createQueryBuilder('e') return $this->createQueryBuilder('e')
->where(':newsletter MEMBER OF e.newsletters') ->where(':newsletter MEMBER OF e.newsletters')
->setParameter('newsletter', $newsletter->getId()) ->setParameter('newsletter', $newsletter->getId())
->andWhere('e.enabled = 1')
->innerJoin('e.userMerchants', 'um') ->innerJoin('e.userMerchants', 'um')
->andWhere('um.merchant = :merchant AND um.active = 1') ->andWhere('um.merchant = :merchant AND um.active = 1')
->setParameter('merchant', $newsletter->getMerchant()) ->setParameter('merchant', $newsletter->getMerchant())

Loading…
Cancel
Save