@@ -101,8 +101,9 @@ |
||
| 101 | 101 | $card->setLastModified(time()); |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | - if ($i === $order) |
|
| 105 | - $i++; |
|
| 104 | + if ($i === $order) { |
|
| 105 | + $i++; |
|
| 106 | + } |
|
| 106 | 107 | |
| 107 | 108 | if ($card->id !== $id) { |
| 108 | 109 | $card->setOrder($i++); |
@@ -67,8 +67,9 @@ |
||
| 67 | 67 | } |
| 68 | 68 | $limit = 10; |
| 69 | 69 | foreach ($this->userManager->searchDisplayName($search, $limit, $offset) as $idx => $user) { |
| 70 | - if ($user->getUID() === $this->userId) |
|
| 71 | - continue; |
|
| 70 | + if ($user->getUID() === $this->userId) { |
|
| 71 | + continue; |
|
| 72 | + } |
|
| 72 | 73 | $acl = new Acl(); |
| 73 | 74 | $acl->setType('user'); |
| 74 | 75 | $acl->setParticipant($user->getUID()); |