Merge pull request #9725 from nextcloud/fix/contacts-menu-local-null-check
Fix local users check in contacts menu
This commit is contained in:
commit
8c3ec5f589
|
@ -200,7 +200,8 @@ class ContactsStore implements IContactsStore {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($shareType === 0 || $shareType === 6) {
|
if ($shareType === 0 || $shareType === 6) {
|
||||||
if ($contact['UID'] === $shareWith && $contact['isLocalSystemBook'] === true) {
|
$isLocal = $contact['isLocalSystemBook'] ?? false;
|
||||||
|
if ($contact['UID'] === $shareWith && $isLocal === true) {
|
||||||
$match = $contact;
|
$match = $contact;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue