mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #22401 from nextcloud/backport/22394/stable18
[stable18] Fix missing FN from federated contact
This commit is contained in:
commit
ead4d98acc
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ class ShareAPIController extends OCSController {
|
|||
$result = \OC::$server->getContactsManager()->search($query, [$property]);
|
||||
foreach ($result as $r) {
|
||||
foreach ($r[$property] as $value) {
|
||||
if ($value === $query) {
|
||||
if ($value === $query && $r['FN']) {
|
||||
return $r['FN'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue