Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 767 → Rev 768

/trunk/services/modules/0.1/sptb/Statuts.php
94,7 → 94,7
$requete = "SELECT * FROM ".Config::get('bdd_table_especes').' '.
"WHERE num_nom_retenu IN (".implode(', ', $conditions_taxons).") OR ".
"num_nom IN (".implode(', ', $conditions_taxons).") ";
"num_nom IN (".implode(', ', $conditions_taxons).") " . ' -- ' . __FILE__ . ':' . __LINE__;
$statuts = $this->bdd->recuperer($requete);
$statuts = $this->formaterRetour($statuts);
139,6 → 139,9
private function formaterStatutsTaxonZoneGeo($statuts_taxon) {
$lois_statuts = array();
// cas ou la requĂȘte (obtenirStatuts()) ne retourne rien
if(!$statuts_taxon) return array();
 
foreach ($statuts_taxon as $champ => $statut) {
if($statut == "1") {
$lois_statuts[] = $champ;