mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #46924 from nextcloud/fix/empty-email
This commit is contained in:
commit
119543e694
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class ShareesAPIController extends OCSController {
|
|||
$sharees = $this->getAllShareesByType($user, $shareType);
|
||||
$shareTypeResults = [];
|
||||
foreach ($sharees as [$sharee, $displayname]) {
|
||||
if (!isset($this->searchResultTypeMap[$shareType])) {
|
||||
if (!isset($this->searchResultTypeMap[$shareType]) || trim($sharee) === '') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue