session condition fausse
This commit is contained in:
parent
80522ddb4d
commit
11205a310b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user