From: hickert Date: Tue, 6 Jul 2010 05:10:17 +0000 (+0000) Subject: Fixed expiration detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5161a80f66d1133b9bb5fe49c54bf88b15f41469;p=gosa.git Fixed expiration detection . git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18932 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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',