Erreur de code
This commit is contained in:
parent
48a54afe3b
commit
f80ef59eba
@ -30,18 +30,7 @@ class SessionCiblage
|
||||
public function setCritere($key, $value)
|
||||
{
|
||||
if(in_array($key, $this->criteres)) {
|
||||
switch($key) {
|
||||
case 'dateCrea_etab':
|
||||
case 'dateCrea_ent':
|
||||
case 'dateImmat':
|
||||
$Date = new WDate();
|
||||
$this->valeur[$key] = $Date->dateT('d/m/Y', 'Ymd', $value);
|
||||
break;
|
||||
default:
|
||||
$this->valeur[$key] = $value;
|
||||
break;
|
||||
}
|
||||
|
||||
$this->valeur[$key] = $value;
|
||||
$this->setSession();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user