Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1476 → Rev 1477

/trunk/modules/fiche/formateurs/Statut.php
69,8 → 69,10
if ($projet != "") {
$nnr = $this->nomCourant->getNnr();
$reponse = $this->statuts->getStatutsZoneGeo($projet, $nnr);
foreach ($reponse as $statut) {
$statuts[$statut['type_protection']][] = $statut['zone_application'];
if (! empty($reponse)) {
foreach ($reponse as $statut) {
$statuts[$statut['type_protection']][] = $statut['zone_application'];
}
}
$this->meta->setProjet($projet);
$meta = $this->meta->getMetaDonnees();