/trunk/jrest/bibliotheque/Cel.php |
---|
626,7 → 626,12 |
} |
protected function obtenirSousTaxonsPourNt($referentiel, $nt) { |
return $this->obtenirSousTaxons($referentiel, 'nt:'.$nt); |
$sous_taxons = array(); |
// Certains référentiels n'ont pas de nt |
if(!empty($nt) && is_numeric($nt) && $nt > 0) { |
$sous_taxons = $this->obtenirSousTaxons($referentiel, 'nt:'.$nt); |
} |
return $sous_taxons; |
} |
protected function obtenirSousTaxonsPourNn($referentiel, $nn) { |