diff options
author | michag86 <micha_g@arcor.de> | 2014-10-07 14:30:14 +0200 |
---|---|---|
committer | michag86 <micha_g@arcor.de> | 2014-10-07 14:30:14 +0200 |
commit | 0df070a8e4f6718e3cd86aa4d5a5fc62c53f6eee (patch) | |
tree | 6f3ef1176dffa4451ec22fe795d32d31e42aa828 /lib/private | |
parent | 396a71b0059e706a40d850d8ed20988eceaab328 (diff) | |
download | nextcloud-server-0df070a8e4f6718e3cd86aa4d5a5fc62c53f6eee.tar.gz nextcloud-server-0df070a8e4f6718e3cd86aa4d5a5fc62c53f6eee.zip |
fix for issue #10880
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/group/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/database.php b/lib/private/group/database.php index e6a5565b20e..8aebefabd27 100644 --- a/lib/private/group/database.php +++ b/lib/private/group/database.php @@ -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()) { |