diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-08 16:43:23 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-08 16:43:23 +0200 |
commit | 835f36cb09c9eb13e7475ba49c89802e50b8eec9 (patch) | |
tree | 535a2ef977d6506efc87c5d8ea87bc480a5ac9f7 /core/ajax | |
parent | 6284ab31de660e4400e7e244e2a71096e6ed8f3b (diff) | |
download | nextcloud-server-835f36cb09c9eb13e7475ba49c89802e50b8eec9.tar.gz nextcloud-server-835f36cb09c9eb13e7475ba49c89802e50b8eec9.zip |
find users which are in the same group
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php index 1166ea3198a..dbad8f2e971 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -293,7 +293,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo while ($count < 15 && count($users) == $limit) { $limit = 15 - $count; if ($sharePolicy == 'groups_only') { - $users = OC_Group::DisplayNamesInGroups($groups, $_GET['search'], $limit, $offset); + $users = OC_Group::DisplayNamesInGroups($usergroups, $_GET['search'], $limit, $offset); } else { $users = OC_User::getDisplayNames($_GET['search'], $limit, $offset); } |