Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 800 → Rev 801

/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;