Passed
Push — master ( 95951e...f270a7 )
by Anthony
02:23
created
modules/bataille/app/controller/CentreRecherche.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,9 @@
 block discarded – undo
15 15
 			$query = $dbc1->select("coef_centre_recherche")->from("configuration")->where("ID_configuration", "=", 1)->get();
16 16
 
17 17
 			if ((is_array($query)) && (count($query) == 1)) {
18
-				foreach ($query as $obj) $this->coef_centre = $obj->coef_centre_recherche;
18
+				foreach ($query as $obj) {
19
+					$this->coef_centre = $obj->coef_centre_recherche;
20
+				}
19 21
 			}
20 22
 
21 23
 			$query = $dbc1->select()->from("recherche")
Please login to merge, or discard this patch.