From 85d6a87fcfb99258e48594e6db4c0898ab719b21 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 10 Feb 2023 13:35:16 +0100 Subject: [PATCH] supann: fix typo in generate_supannRessourceEtat --- src/includes/addons/LSaddons.supann.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }