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; |