Invite list privacy bug fix.

This commit is contained in:
Alexey Skobkin 2018-07-01 15:13:42 +03:00
parent 45dd6d46ee
commit 27f290670a

View file

@ -25,6 +25,9 @@ class InviteRepository extends ServiceEntityRepository
$qb $qb
->select(['i', 'uu']) ->select(['i', 'uu'])
->leftJoin('i.usedBy', 'uu') ->leftJoin('i.usedBy', 'uu')
->where('i.user = :user')
->orderBy('i.id', 'asc')
->setParameter('user', $user->getId())
; ;
return $qb->getQuery()->getResult(); return $qb->getQuery()->getResult();