Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 384 → Rev 385

/trunk/services/modules/0.1/baseflor/Informations.php
67,14 → 67,14
if (isset($this->ressources) && !empty($this->ressources[0])) {
if(preg_match('/^(.+)\.nn:([0-9]+)$/', $this->ressources[0], $retour)==1){
switch ($retour[1]) {
case 'BDTFX' :
case 'bdtfx' :
$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDTFX' ";
break;
case 'BDAFX' :
case 'bdafx' :
$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDAFX' ";
break;
case 'BDBFX' :
case 'bdbfx' :
$this->requete_condition[] = "num_nomen = ".$retour[2]." AND BDNT = 'BDBFX' ";
break;
default :