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