Return the correct group casing in sharee api

This commit is contained in:
Joas Schilling 2016-03-10 14:55:31 +01:00
parent ab39be1d11
commit 8cd52ed36d
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 {