Passed
Push — master ( d11529...9e90e2 )
by Anthony
02:33
created
modules/bataille/app/controller/CentreRecherche.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
 			$count = cout($all_recherche);
47 47
 
48
-			for ($i=0 ; $i<$count ; $i++) {
48
+			for ($i = 0; $i < $count; $i++) {
49 49
 				if ((in_array($all_recherche[$i], $recherche_base))) {
50 50
 					echo("améliorer<br>");
51 51
 				}
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
 
17 17
 				if ($lien[1] == "page") {
18 18
 					$dbc->update("ordre", $i+1)->from("navigation")->where("ID_page", "=", $lien[0])->set();
19
-				}
20
-				else {
19
+				} else {
21 20
 					$dbc->update("ordre", $i+1)->from("navigation")->where("ID_module", "=", $lien[0])->set();
22 21
 				}
23 22
 			}
Please login to merge, or discard this patch.