diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-03 13:54:16 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-10 10:57:34 +0200 |
commit | 42448c0d7898412261a8fc78a26e8450a8cd6ee5 (patch) | |
tree | e629d467b816481a3a610126b7d00b853dae459c /apps/user_ldap | |
parent | 7a14aa748e94b49c954a55d2a5815f4eef2e3ea8 (diff) | |
download | nextcloud-server-42448c0d7898412261a8fc78a26e8450a8cd6ee5.tar.gz nextcloud-server-42448c0d7898412261a8fc78a26e8450a8cd6ee5.zip |
Fix getKnownGroups return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/Db/GroupMembershipMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Db/GroupMembershipMapper.php b/apps/user_ldap/lib/Db/GroupMembershipMapper.php index 2c30e947cb0..0868f60d2c5 100644 --- a/apps/user_ldap/lib/Db/GroupMembershipMapper.php +++ b/apps/user_ldap/lib/Db/GroupMembershipMapper.php @@ -47,7 +47,7 @@ class GroupMembershipMapper extends QBMapper { ->from($this->getTableName()) ->executeQuery(); - $groups = $result->fetchAll(); + $groups = array_map(fn ($row) => $row['groupid'], $result->fetchAll()); $result->closeCursor(); return $groups; } |