mirror of
https://github.com/friendica/friendica
synced 2025-04-25 23:50:11 +00:00
Suppress notice messages related to the VCard::getHTML call in mod/display
- Address https://soc.schuerz.at/display/4edd2508-6661-a8d1-f168-b2a245440386
This commit is contained in:
parent
a53add06f2
commit
e7d87d3524
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class VCard
|
|||
$pending = $pcontact['pending'] ?? false;
|
||||
}
|
||||
|
||||
if (!$contact['self'] && Protocol::supportsFollow($contact['network'])) {
|
||||
if (empty($contact['self']) && Protocol::supportsFollow($contact['network'])) {
|
||||
if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) {
|
||||
$unfollow_link = 'unfollow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
} elseif (!$pending) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue