SessionCiblage : Meilleur controle de getCriteres
This commit is contained in:
parent
ab2e0c289a
commit
05c9aa875c
@ -41,7 +41,7 @@ class SessionCiblage
|
||||
|
||||
public function getCritere($key)
|
||||
{
|
||||
if(in_array($key, $this->criteres)) {
|
||||
if(in_array($key, $this->criteres) && in_array($key, $this->valeur)) {
|
||||
return $this->valeur[$key];
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user