Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
4163a5ef
Commit
4163a5ef
authored
Mar 24, 2015
by
Roeland Jago Douma
Browse files
Call the proper function
* Fix for #6967
parent
b1c513f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/ajax/share.php
View file @
4163a5ef
...
...
@@ -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
::
D
isplayNamesInGroups
(
$usergroups
,
(
string
)
$_GET
[
'search'
],
$limit
,
$offset
);
$users
=
OC_Group
::
d
isplayNamesInGroups
(
$usergroups
,
(
string
)
$_GET
[
'search'
],
$limit
,
$offset
);
}
else
{
$users
=
OC_User
::
getDisplayNames
((
string
)
$_GET
[
'search'
],
$limit
,
$offset
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment