diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-10 14:55:31 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-03-11 14:08:12 +0100 |
commit | 8cd52ed36d7b8c6dc9b69dafd6269cdbeb1f6673 (patch) | |
tree | 088f8117b3300e1c6ae8beb81d169869c3401bd8 /apps | |
parent | ab39be1d111696c9add6185bbace6937afe59d8c (diff) | |
download | nextcloud-server-8cd52ed36d7b8c6dc9b69dafd6269cdbeb1f6673.tar.gz nextcloud-server-8cd52ed36d7b8c6dc9b69dafd6269cdbeb1f6673.zip |
Return the correct group casing in sharee api
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/api/sharees.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/sharees.php b/apps/files_sharing/api/sharees.php index 28dfd4af955..88cf783b2a1 100644 --- a/apps/files_sharing/api/sharees.php +++ b/apps/files_sharing/api/sharees.php @@ -223,10 +223,10 @@ class Sharees { foreach ($groups as $gid) { if (strtolower($gid) === $search) { $this->result['exact']['groups'][] = [ - 'label' => $search, + 'label' => $gid, 'value' => [ 'shareType' => Share::SHARE_TYPE_GROUP, - 'shareWith' => $search, + 'shareWith' => $gid, ], ]; } else { |