Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1477 → Rev 1465

/trunk/modules/fiche/formateurs/Statut.php
69,10 → 69,8
if ($projet != "") {
$nnr = $this->nomCourant->getNnr();
$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
if (! empty($reponse)) {
foreach ($reponse as $statut) {
$statuts[$statut['type_protection']][] = $statut['zone_application'];
}
foreach ($reponse as $statut) {
$statuts[$statut['type_protection']][] = $statut['zone_application'];
}
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();
/trunk/modules/fiche/formateurs/Description.php
185,9 → 185,7
$this->textes->setProjet('coste');
$this->textes->setId('bdtfx.nt:'.$this->nomCourant->getNt());
$texte = $this->textes->getTexte();
if (! empty($texte['resultats'])) {
$texte = array_pop($texte['resultats']);
}
$texte = array_pop($texte['resultats']);
if ($texte) {
$coste['titre'] = $texte['titre'];
$coste['description'] = self::mettreEnFormeCoste($texte['texte']);