mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Fix missing FN from federated contact
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
1de7de99d8
commit
339dec45be
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