Completed
Branch master (317f11)
by Julius
02:49
created
lib/Service/CardService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,9 @@
 block discarded – undo
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++);
Please login to merge, or discard this patch.
lib/Controller/ShareController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,9 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.