diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-10-09 15:12:59 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-10-09 15:12:59 +0300 |
commit | 2fddb1367acc381de965234588c84779ca178756 (patch) | |
tree | 6b3338c56304584dd55de0addd7d5ba499e01599 /apps/user_ldap | |
parent | a876efda50680f7d8652299cb5265dc552be45cf (diff) |
fix primary group retrieval
Diffstat (limited to 'apps/user_ldap')
-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 0b9c9d9d5f0..cf58e5b902d 100644 --- a/apps/user_ldap/group_ldap.php +++ b/apps/user_ldap/group_ldap.php @@ -247,7 +247,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 |