Fix syntax for php5.6
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
2b0ae6df9f
commit
e5fb98d9fc
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue