diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-08 17:04:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-08 17:04:12 +0200 |
commit | e3565d5266a00182578beb325a3f192e8bc171cc (patch) | |
tree | cb8ed45b8ad102c86717f2c88ba158e20469def1 /core | |
parent | 3d5f8de758d9261abc4172aceea17741a41cfcf9 (diff) | |
download | nextcloud-server-e3565d5266a00182578beb325a3f192e8bc171cc.tar.gz nextcloud-server-e3565d5266a00182578beb325a3f192e8bc171cc.zip |
find users which are in the same group
Diffstat (limited to 'core')
-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 aed1caff378..387ac8bc27f 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -188,7 +188,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); } |