@@ -64,8 +64,9 @@ |
||
64 | 64 | $qb = $this->getCirclesSelectSql(); |
65 | 65 | |
66 | 66 | $this->limitToId($qb, $circleId); |
67 | - if ($userId !== '') |
|
68 | - $this->limitToUserId($qb, $userId); |
|
67 | + if ($userId !== '') { |
|
68 | + $this->limitToUserId($qb, $userId); |
|
69 | + } |
|
69 | 70 | |
70 | 71 | // $this->leftjoinOwner($qb); |
71 | 72 | // $this->buildWithMemberLevel($qb, 'u.level', $level); |