Return the correct group casing in sharee api

This commit is contained in:
Joas Schilling 2016-03-10 14:55:31 +01:00
parent 5c38c1c845
commit 5b593450c3
1 changed files with 2 additions and 2 deletions

View File

@ -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 {