/trunk/services/modules/0.1/coste/Images.php |
---|
101,7 → 101,7 |
} |
$arr = array_filter(array_map('intval', explode(',', $valeur))); |
if(!$arr) $this->renvoyerErreur(RestServeur::HTTP_CODE_MAUVAISE_REQUETE, "valeur incorrecte pour masque.".$type_masque); |
$this->requete_condition[] = sprintf(" flore_bdtfx_%s IN (%s)", $type_masque, implode(',', $arr)); |
$this->requete_condition[] = sprintf(" flore_bdtfx_%s IN (%s)", $type_masque, implode(',', array_unique($arr))); |
} |