Fix syntax for php5.6

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2018-06-04 15:12:57 +02:00
parent 2b0ae6df9f
commit e5fb98d9fc
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class ContactsStore implements IContactsStore {
} }
} }
if ($shareType === 0 || $shareType === 6) { if ($shareType === 0 || $shareType === 6) {
$isLocal = $contact['isLocalSystemBook'] ?? false; $isLocal = isset($contact['isLocalSystemBook']) ? $contact['isLocalSystemBook'] : false;
if ($contact['UID'] === $shareWith && $isLocal === true) { if ($contact['UID'] === $shareWith && $isLocal === true) {
$match = $contact; $match = $contact;
break; break;