/trunk/modules/fiche/formateurs/Description.php |
---|
185,7 → 185,9 |
$this->textes->setProjet('coste'); |
$this->textes->setId('bdtfx.nt:'.$this->nomCourant->getNt()); |
$texte = $this->textes->getTexte(); |
$texte = array_pop($texte['resultats']); |
if (! empty($texte['resultats'])) { |
$texte = array_pop($texte['resultats']); |
} |
if ($texte) { |
$coste['titre'] = $texte['titre']; |
$coste['description'] = self::mettreEnFormeCoste($texte['texte']); |