diff --git a/library/Scores/Ciblage.php b/library/Scores/Ciblage.php index d6cac693..72f3b5e4 100644 --- a/library/Scores/Ciblage.php +++ b/library/Scores/Ciblage.php @@ -17,10 +17,11 @@ Class Ciblage if(!empty($structure)) { foreach($structure as $key => $valeur) { - if (method_exists($this, $key) and !empty($valeur)) { + if (method_exists($this, $key)) { if(is_array($valeur)) { - if($valeur[0] != "" and $valeur[0] != 'tous') + if($valeur[0] != "" and $valeur[0] != 'tous'){ $this->$key($valeur); + } } else { if($valeur != 'tous') $this->$key($valeur);