Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
0df070a8
Commit
0df070a8
authored
10 years ago
by
michag86
Browse files
Options
Downloads
Patches
Plain Diff
fix for issue #10880
parent
396a71b0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/group/database.php
+1
-1
1 addition, 1 deletion
lib/private/group/database.php
with
1 addition
and
1 deletion
lib/private/group/database.php
+
1
−
1
View file @
0df070a8
...
...
@@ -168,7 +168,7 @@ class OC_Group_Database extends OC_Group_Backend {
* Returns a list with all groups
*/
public
function
getGroups
(
$search
=
''
,
$limit
=
null
,
$offset
=
null
)
{
$stmt
=
OC_DB
::
prepare
(
'SELECT `gid` FROM `*PREFIX*groups` WHERE `gid` LIKE
?
ORDER BY `gid` ASC'
,
$limit
,
$offset
);
$stmt
=
OC_DB
::
prepare
(
'SELECT `gid` FROM `*PREFIX*groups` WHERE
LOWER(
`gid`
)
LIKE
LOWER(?)
ORDER BY `gid` ASC'
,
$limit
,
$offset
);
$result
=
$stmt
->
execute
(
array
(
'%'
.
$search
.
'%'
));
$groups
=
array
();
while
(
$row
=
$result
->
fetchRow
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment