/trunk/jrest/services/CelObs.php |
---|
31,7 → 31,7 |
if (isset($idObs) && preg_match('/^[0-9]+$/', $idObs)) { |
$criteres = array('id_observation' => $idObs, 'transmission' => 1); |
$obsTrouvee = $this->rechercheObs->rechercherObservations(null, $criteres, 0, 1); |
$obsTrouvee = $this->rechercheObs->rechercherObservations(null, $criteres, 0, 1)->get(); |
$observation = array(); |
if (is_array($obsTrouvee) && count($obsTrouvee) > 0) { |