fix primary group retrieval

This commit is contained in:
Arthur Schiwon 2015-10-09 14:12:59 +02:00
parent a876efda50
commit 2fddb1367a
1 changed files with 1 additions and 1 deletions

View File

@ -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