LSattr_ldap::shadowExpire: fix getUpdateData() method to return string values

This commit is contained in:
Benjamin Renard 2020-09-11 13:40:48 +02:00
parent 41d816c025
commit bf482c648f

View file

@ -53,7 +53,7 @@ class LSattr_ldap_shadowExpire extends LSattr_ldap {
public function getUpdateData($data) {
$ret=array();
foreach($data as $val) {
$ret[]=round(((int)$val)/86400);
$ret[]=(string)round(((int)$val)/86400);
}
return $ret;
}