mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
Fix syntax for php5.6
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
2b0ae6df9f
commit
e5fb98d9fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue