summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-30 17:04:09 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-03-30 17:04:09 +0200
commitbf17ac929d16b36a131ba9cec7abed304bb78abb (patch)
treeea46e51a6980b3856ec1d30688210b56d6293992 /core/ajax
parent308a43a10e655008e4dc55446cae58f0eecc4e62 (diff)
parent4163a5efadd5984010d455c7cbd848bd17d5450d (diff)
downloadnextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.tar.gz
nextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.zip
Merge pull request #15169 from rullzer/fix_displayNamesInGroup
Groupmanagers displayNamesInGroup should actually search in displaynames
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/share.php b/core/ajax/share.php
index 7bc01133a6d..05756fc1c8b 100644
--- a/core/ajax/share.php
+++ b/core/ajax/share.php
@@ -262,7 +262,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);
}