diff --git a/application/controllers/ComptageController.php b/application/controllers/ComptageController.php index 51ff4819..e2f55228 100644 --- a/application/controllers/ComptageController.php +++ b/application/controllers/ComptageController.php @@ -15,7 +15,7 @@ class ComptageController extends Zend_Controller_Action $valeur = $request->getParam('valeur'); $sessionValeur = $session->getCritere($key); - if(!empty($sessionValeur) && empty($valeur)) { + if($sessionValeur == "" && empty($valeur)) { $session->unsetCritere($key); } else { $session->setCritere($key, $valeur);