summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2024-01-15 21:40:00 +0100
committerGitHub <noreply@github.com>2024-01-15 21:40:00 +0100
commitac1b9893881d6efa426f36afbf2c95602e41f750 (patch)
tree274354afe876563eb1c5acbaf64643bde093cfa8 /apps
parent82cd4f8f0d398533bf377930154f90dae4bda40e (diff)
parentb18aabcc790ad54f21f2258f1e9b1ec4015d1278 (diff)
downloadnextcloud-server-ac1b9893881d6efa426f36afbf2c95602e41f750.tar.gz
nextcloud-server-ac1b9893881d6efa426f36afbf2c95602e41f750.zip
Merge pull request #42815 from nextcloud/backport/42781/stable28
[stable28] Fix crash of login in case of duplicated group membership
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Group_Proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php
index 73daf4fdd77..7410aa6a6e9 100644
--- a/apps/user_ldap/lib/Group_Proxy.php
+++ b/apps/user_ldap/lib/Group_Proxy.php
@@ -178,7 +178,7 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGet
}
}
- return $groups;
+ return array_values(array_unique($groups));
}
/**