summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-06-04 15:12:57 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-06-04 15:12:57 +0200
commite5fb98d9fc0b30cfd66bb89b8c43f3ccd7cafc6a (patch)
tree8787ab346070f0920df2da14d748cfe7480af58f /lib/private
parent2b0ae6df9f9af260ba64a940078d6a5aa568153b (diff)
downloadnextcloud-server-e5fb98d9fc0b30cfd66bb89b8c43f3ccd7cafc6a.tar.gz
nextcloud-server-e5fb98d9fc0b30cfd66bb89b8c43f3ccd7cafc6a.zip
Fix syntax for php5.6
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Contacts/ContactsMenu/ContactsStore.php2
1 files changed, 1 insertions, 1 deletions
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;