Line 143... |
Line 143... |
143 |
"num_nom = ".$this->taxon['num_nom'] :
|
143 |
"num_nom = ".$this->taxon['num_nom'] :
|
144 |
"nom_scientifique_complet LIKE ".$this->bdd->proteger($this->taxon['nom_sci']) ;
|
144 |
"nom_scientifique_complet LIKE ".$this->bdd->proteger($this->taxon['nom_sci']) ;
|
145 |
if ($this->nomRang == 'espece' || $this->nomRang == 'sous_espece') {
|
145 |
if ($this->nomRang == 'espece' || $this->nomRang == 'sous_espece') {
|
146 |
foreach ($this->taxons as $sousTaxon) {
|
146 |
foreach ($this->taxons as $sousTaxon) {
|
147 |
if ($source == "sophy") {
|
147 |
if ($source == "sophy") {
|
148 |
if ($sousTaxon['num_nom'] = $sousTaxon['num_nom_retenu']) {
|
148 |
if (isset($sousTaxon['num_nom_retenu']) && $sousTaxon['num_nom'] == $sousTaxon['num_nom_retenu']) {
|
149 |
$criteres[] =
|
149 |
$criteres[] =
|
150 |
"nom_scientifique_complet LIKE ".$this->bdd->proteger($sousTaxon['nom_sci']) ;
|
150 |
"nom_scientifique_complet LIKE ".$this->bdd->proteger($sousTaxon['nom_sci']) ;
|
151 |
}
|
151 |
}
|
152 |
} else {
|
152 |
} else {
|
153 |
$criteres[] = (in_array($source, array("baznat", "ifn", "vigie_flore", "photoflora"))) ?
|
153 |
$criteres[] = (in_array($source, array("baznat", "ifn", "vigie_flore", "photoflora"))) ?
|