@@ -55,8 +55,9 @@ |
||
55 | 55 | $this->peopleService->getMyCompanies() |
56 | 56 | ); |
57 | 57 | |
58 | - if ($company) |
|
59 | - $qb->andWhere('pe = :company')->setParameter('company', $company); |
|
58 | + if ($company) { |
|
59 | + $qb->andWhere('pe = :company')->setParameter('company', $company); |
|
60 | + } |
|
60 | 61 | |
61 | 62 | return $qb->getQuery()->getResult(); |
62 | 63 | } |