summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorringmaster <epithet@gmail.com>2014-05-05 15:11:40 -0400
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:57 +0200
commit1ae8ec698baf8debb179268031fe5ac73b674a87 (patch)
treefba86d40d129f8dbab2344a57cc48d4a22daa854 /settings/ajax
parentf9f95509695c6ae654addfdab01dceb48f41ce56 (diff)
downloadnextcloud-server-1ae8ec698baf8debb179268031fe5ac73b674a87.tar.gz
nextcloud-server-1ae8ec698baf8debb179268031fe5ac73b674a87.zip
Make sure group data is returned.
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/grouplist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/grouplist.php b/settings/ajax/grouplist.php
index 79143ee89ca..91700adc359 100644
--- a/settings/ajax/grouplist.php
+++ b/settings/ajax/grouplist.php
@@ -36,7 +36,7 @@ $isAdmin = OC_User::isAdminUser(OC_User::getUser());
//groups will be filtered out later
$groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), true, $groupManager);
$groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
-list($adminGroup, $groups) = $groupsInfo->get($pattern);
+list($adminGroups, $groups) = $groupsInfo->get($pattern);
$accessibleGroups = $groupManager->search($pattern);
if(!$isAdmin) {