C'est pas beau le and
This commit is contained in:
parent
c91a605aff
commit
9d9670ead4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user