From c6c53f90b5e1b99995b87a283fced02fd8826ccb Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 30 Jul 2012 08:29:06 +0000 Subject: [PATCH] Correct condition on date --- library/Application/Controller/Plugin/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Application/Controller/Plugin/Auth.php b/library/Application/Controller/Plugin/Auth.php index 682c2959..52d3a7f8 100644 --- a/library/Application/Controller/Plugin/Auth.php +++ b/library/Application/Controller/Plugin/Auth.php @@ -116,7 +116,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract } //No contrat define - if ( empty($identity->dateContrat) ) { + if ( $identity->dateContrat!=0 ) { //If no params are detected, display a message to contact support $request->setModuleName('default') ->setControllerName('aide')