/branches/v1.5-carbone/services/modules/0.1/observations/ListeObservations.php |
---|
142,7 → 142,6 |
private function formaterObservations() { |
$observations = array_map('array_filter', $this->infosObs); |
$obsFormatees = array_flip($this->idsObsOrdonnees);// Permet de garder l'ordre de sortie ! |
//echo '<pre>'.print_r($observations, true).'</pre>'; |
foreach ($observations as &$obs) { |
$this->nettoyerAuteur($obs); |
153,7 → 152,6 |
} |
$obsFormatees[$id]['images'][] = $this->extraireInfosImage($obs); |
} |
return $obsFormatees; |
} |