mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSattr_ldap::shadowExpire: fix getUpdateData() method to return string values
This commit is contained in:
parent
41d816c025
commit
bf482c648f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class LSattr_ldap_shadowExpire extends LSattr_ldap {
|
||||||
public function getUpdateData($data) {
|
public function getUpdateData($data) {
|
||||||
$ret=array();
|
$ret=array();
|
||||||
foreach($data as $val) {
|
foreach($data as $val) {
|
||||||
$ret[]=round(((int)$val)/86400);
|
$ret[]=(string)round(((int)$val)/86400);
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue