Standards

This commit is contained in:
Michael 2021-07-23 13:08:41 +00:00
parent 7c0d900b99
commit 90d7360252

View file

@ -60,6 +60,7 @@ class VCard
$pending = $contact['pending'];
} else {
$pcontact = Contact::selectFirst(['id', 'rel', 'pending'], ['uid' => local_user(), 'uri-id' => $contact['uri-id']]);
$id = $pcontact['id'] ?? 0;
$rel = $pcontact['rel'] ?? Contact::NOTHING;
$pending = $pcontact['pending'] ?? false;