diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-10-09 15:12:59 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-10-22 13:08:09 +0300 |
commit | f9be35c931b2399391616b1396db2f30378fa112 (patch) | |
tree | a3c2ab4b91e2245656df761d372dd490dd684743 | |
parent | ba13cecb76439a91ec82c70f9f81e7db82ea89f1 (diff) |
fix primary group retrieval
-rw-r--r-- | apps/user_ldap/group_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php index e2b4666a63a..48200bf57f4 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -245,7 +245,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface { if(empty($result)) { return false; } - $dn = $result[0]; + $dn = $result[0]['dn'][0]; //and now the group name //NOTE once we have separate ownCloud group IDs and group names we can |