/trunk/modules/fiche/formateurs/Illustrations.php |
---|
68,8 → 68,8 |
$this->images->setProjet($source); |
$nnr = $this->nomCourant->getNnr(); |
$infos_image = $this->images->getUrlPremiereImageParIdsNoms(array($nnr)); |
if ($infos_image['resultats']) { |
$image = array_shift($infos_image['resultats']); |
if ($infos_image != array()) { |
$image = array_shift($infos_image); |
$donnees['imageUrl'] = $image['binaire.href']; |
} |
return $donnees; |