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