48,7 → 48,7 |
$observation = $retour_recherche[0]; |
} |
|
$observation = $this->formaterObservationVersTableauSequentiel(&$observation); |
$observation = $this->formaterObservationVersTableauSequentiel($observation); |
$output = json_encode($observation); |
|
$this->envoyerJson($output); |
55,7 → 55,7 |
return true; |
} |
|
private function formaterObservationVersTableauSequentiel($observation) { |
private function formaterObservationVersTableauSequentiel(&$observation) { |
|
if ($observation['date_observation']!="0000-00-00 00:00:00") { |
list($year,$month,$day)= explode('-',$observation['date_observation']); |