Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 610 → Rev 611

/trunk/modules/fiche/formateurs/Description.php
90,15 → 90,15
 
 
public function getBloc() {
$description = $this->getCoste();
$donnees['titre'] = "Description de Coste";
$description = $this->getCoste();
if ($description['description'] == '') {
if (empty($description['description'])) {
$description = $this->getBaseflor();
$donnees['titre'] = "Description Baseflor";
$description = $this->getBaseflor();
}
if (empty($description['description'])) {
$description = $this->getWikini();
$donnees['titre'] = "Description collaborative";
$description = $this->getWikini();
}
$donnees['description'] = $description['description'];
return $donnees;