]> git.mxchange.org Git - friendica.git/commitdiff
Standards
authorMichael <heluecht@pirati.ca>
Fri, 23 Jul 2021 13:08:41 +0000 (13:08 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 23 Jul 2021 13:08:41 +0000 (13:08 +0000)
src/Content/Widget/VCard.php

index a7d7d8cbd2e7fa3d41d2b1e68b8d668156e150e2..7338d508c4ab8f9e95ca3a6cc3cdaec0364f7d07 100644 (file)
@@ -49,8 +49,8 @@ class VCard
                        $network_link = '';
                }
 
-               $follow_link = '';
-               $unfollow_link = '';
+               $follow_link      = '';
+               $unfollow_link    = '';
                $wallmessage_link = '';
 
                if (local_user()) {
@@ -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;