diff --git a/application/controllers/ComptageController.php b/application/controllers/ComptageController.php index e7aee9b3..51ff4819 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) and empty($valeur)) { + if(!empty($sessionValeur) && empty($valeur)) { $session->unsetCritere($key); } else { $session->setCritere($key, $valeur);