modification d'un bug de condition !empty() = enlever la condition Non = 0
This commit is contained in:
parent
07b769bfc6
commit
73b0249a5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user