From e5fb98d9fc0b30cfd66bb89b8c43f3ccd7cafc6a Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 4 Jun 2018 15:12:57 +0200 Subject: [PATCH] Fix syntax for php5.6 Signed-off-by: Christoph Wurst --- lib/private/Contacts/ContactsMenu/ContactsStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;