diff --git a/src/includes/class/class.LSattr_ldap_shadowExpire.php b/src/includes/class/class.LSattr_ldap_shadowExpire.php index 7b822bf8..dfe406e5 100644 --- a/src/includes/class/class.LSattr_ldap_shadowExpire.php +++ b/src/includes/class/class.LSattr_ldap_shadowExpire.php @@ -52,7 +52,7 @@ class LSattr_ldap_shadowExpire extends LSattr_ldap { public function getUpdateData($data) { $ret=array(); foreach(ensureIsArray($data) as $val) - $ret[] = strval(floor(intval($val) / 86400)); + $ret[] = strval(round(intval($val) / 86400)); self :: log_debug($this."->getUpdateData(): input data=".varDump($data)." / update data=".varDump($ret)); return $ret; }