@@ -15,7 +15,9 @@ |
||
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") |