Correction condition dateFin de contrat
This commit is contained in:
parent
39320764dc
commit
c1b1def04d
@ -124,7 +124,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
|
||||
$year = intval(substr($identity->dateContrat,0,4));
|
||||
$dateFinContrat = mktime($hour,$min,$sec,$month,$day,$year);
|
||||
|
||||
if ( $dateFinContrat > time() ) {
|
||||
if ( time() > $dateFinContrat ) {
|
||||
$request->setModuleName('default')
|
||||
->setControllerName('user')
|
||||
->setActionName('logout')
|
||||
|
Loading…
Reference in New Issue
Block a user