Passed
Push — master ( b7284a...b936a1 )
by Anthony
02:40
created
modules/bataille/app/controller/PermissionsFaction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 			
78 78
 			if ($this->getTestChefFaction($id_identite, $id_faction) === true) {
79 79
 				$permissions = [];
80
-				for ($i=1 ; $i<=$nb_permissions ; $i++) {
80
+				for ($i = 1; $i <= $nb_permissions; $i++) {
81 81
 					$permissions[$i] = "checked";
82 82
 				}
83 83
 				
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			
87 87
 			
88 88
 			$permissions = [];
89
-			for ($i=1 ; $i<=$nb_permissions ; $i++) {
89
+			for ($i = 1; $i <= $nb_permissions; $i++) {
90 90
 				$query = $dbc->select()->from("_bataille_faction_permission_player")
91 91
 					->where("ID_faction", "=", $id_faction, "AND")
92 92
 					->where("ID_identite", "=", $id_identite, "AND")
Please login to merge, or discard this patch.