mirror of
https://github.com/friendica/friendica
synced 2025-01-22 09:39:47 +00:00
Standards
This commit is contained in:
parent
7c0d900b99
commit
90d7360252
1 changed files with 3 additions and 2 deletions
|
@ -49,8 +49,8 @@ class VCard
|
||||||
$network_link = '';
|
$network_link = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$follow_link = '';
|
$follow_link = '';
|
||||||
$unfollow_link = '';
|
$unfollow_link = '';
|
||||||
$wallmessage_link = '';
|
$wallmessage_link = '';
|
||||||
|
|
||||||
if (local_user()) {
|
if (local_user()) {
|
||||||
|
@ -60,6 +60,7 @@ class VCard
|
||||||
$pending = $contact['pending'];
|
$pending = $contact['pending'];
|
||||||
} else {
|
} else {
|
||||||
$pcontact = Contact::selectFirst(['id', 'rel', 'pending'], ['uid' => local_user(), 'uri-id' => $contact['uri-id']]);
|
$pcontact = Contact::selectFirst(['id', 'rel', 'pending'], ['uid' => local_user(), 'uri-id' => $contact['uri-id']]);
|
||||||
|
|
||||||
$id = $pcontact['id'] ?? 0;
|
$id = $pcontact['id'] ?? 0;
|
||||||
$rel = $pcontact['rel'] ?? Contact::NOTHING;
|
$rel = $pcontact['rel'] ?? Contact::NOTHING;
|
||||||
$pending = $pcontact['pending'] ?? false;
|
$pending = $pcontact['pending'] ?? false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue