diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php index 930652d6dad..86ad39085a4 100644 --- a/lib/private/Contacts/ContactsMenu/ContactsStore.php +++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php @@ -202,7 +202,7 @@ class ContactsStore implements IContactsStore { } } if ($shareType === 0 || $shareType === 6) { - $isLocal = $contact['isLocalSystemBook'] ?? false; + $isLocal = isset($contact['isLocalSystemBook']) ? $contact['isLocalSystemBook'] : false; if ($contact['UID'] === $shareWith && $isLocal === true) { $match = $contact; break;