supann: fix typo in generate_supannRessourceEtat

This commit is contained in:
Benjamin Renard 2023-02-10 13:35:16 +01:00
parent 29bfca1792
commit 85d6a87fcf
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -332,7 +332,7 @@ function generate_supannRessourceEtat($ldapObject) {
$values = array();
foreach ($ldapObject -> attrs[ 'supannRessourceEtatDate' ] -> getValue() as $value) {
$value[] = explode(':', $value)[0];
$values[] = explode(':', $value)[0];
}
return $values;
}