From 9d9670ead4e4097d2d5b710619905cd47156aac9 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 19 Jan 2012 21:19:33 +0000 Subject: [PATCH] C'est pas beau le and --- application/controllers/ComptageController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);