diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:43:26 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:45:31 +0100 |
commit | 4163a5efadd5984010d455c7cbd848bd17d5450d (patch) | |
tree | 1453dea76b81d8d5e0f0fd35d08424bb79aa3805 /core | |
parent | b1c513f000e468dc16c31890699b296d23548d92 (diff) | |
download | nextcloud-server-4163a5efadd5984010d455c7cbd848bd17d5450d.tar.gz nextcloud-server-4163a5efadd5984010d455c7cbd848bd17d5450d.zip |
Call the proper function
* Fix for #6967
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 d8aec9c6542..d5f50c23ae9 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -248,7 +248,7 @@ if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSo while ($count < 15 && count($users) == $limit) { $limit = 15 - $count; if ($shareWithinGroupOnly) { - $users = OC_Group::DisplayNamesInGroups($usergroups, (string)$_GET['search'], $limit, $offset); + $users = OC_Group::displayNamesInGroups($usergroups, (string)$_GET['search'], $limit, $offset); } else { $users = OC_User::getDisplayNames((string)$_GET['search'], $limit, $offset); } |