Erreur de code

This commit is contained in:
Damien LASSERRE 2011-12-15 09:48:45 +00:00
parent 48a54afe3b
commit f80ef59eba

View File

@ -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();
}
}