Passed
Push — master ( 90327c...7effc1 )
by Anthony
02:52
created
modules/bataille/app/controller/Points.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,9 @@
 block discarded – undo
41 41
 			
42 42
 			$query = $dbc->select("points_batiment")->from("configuration")->where("ID_configuration", "=", 1)->get();
43 43
 			
44
-			foreach ($query as $obj) return $obj->points_batiment;
44
+			foreach ($query as $obj) {
45
+				return $obj->points_batiment;
46
+			}
45 47
 		}
46 48
 		//-------------------------- END GETTER ----------------------------------------------------------------------------//
47 49
 		
Please login to merge, or discard this patch.