Merge pull request #10890 from owncloud/fix-10888

if only one attribute is requested, the returned array has 0 as key inst...
This commit is contained in:
Lukas Reschke 2014-09-08 16:39:48 +02:00
commit bca57b4b28
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ class Wizard extends LDAPUtility {
do {
$result = $this->access->searchGroups($filter, array('cn'), $limit, $offset);
foreach($result as $item) {
$groupNames[] = $item['cn'];
$groupNames[] = $item[0];
$groupEntries[] = $item;
}
$offset += $limit;