From ace615aa97f44d69076afd6f7e2869c9e8b18624 Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Fri, 29 Apr 2022 18:03:24 +0200 Subject: [PATCH] Fixes the list of users. --- lib/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/UserController.php b/lib/Controller/UserController.php index 41c8671..c7cd3c6 100644 --- a/lib/Controller/UserController.php +++ b/lib/Controller/UserController.php @@ -118,7 +118,7 @@ class UserController extends ASCIMUser { $SCIMUser = $this->getSCIMUser($userId); // Do not insert empty entry if (!empty($SCIMUser)) { - $SCIMUsers[$userId] = $SCIMUser; + $SCIMUsers[] = $SCIMUser; } else { // Logged user does not have permissions to see this user // only showing its id