Correct condition on date

This commit is contained in:
Michael RICOIS 2012-07-30 08:29:06 +00:00
parent 070894f087
commit c6c53f90b5

View File

@ -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')