From 5161a80f66d1133b9bb5fe49c54bf88b15f41469 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 6 Jul 2010 05:10:17 +0000 Subject: [PATCH] Fixed expiration detection . git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18932 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 9e9a6d3ed..ba49c80e5 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -670,7 +670,7 @@ function ldap_expired_account($config, $userdn, $username) $ldap->cd($config->current['BASE']); $ldap->cat($userdn); $attrs= $ldap->fetch(); - $current= floor($date("U") /60 /60 /24); + $current= floor(date("U") /60 /60 /24); // Fetch required attributes foreach(array('shadowExpire','shadowLastChange','shadowMax','shadowMin', -- 2.30.2