diff --git a/src/includes/addons/LSaddons.supann.php b/src/includes/addons/LSaddons.supann.php index da4be573..5a10c3a9 100644 --- a/src/includes/addons/LSaddons.supann.php +++ b/src/includes/addons/LSaddons.supann.php @@ -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; }