mirror of
https://github.com/friendica/friendica
synced 2025-05-09 01:04:13 +02:00
Fix errors in Content namespace
This commit is contained in:
parent
3c84c21318
commit
caa826ca06
8 changed files with 28 additions and 16 deletions
|
@ -34,7 +34,7 @@ class VCard
|
|||
public static function getHTML(array $contact, bool $hide_mention = false, bool $hide_follow = false): string
|
||||
{
|
||||
if (!isset($contact['network']) || !isset($contact['id'])) {
|
||||
Logger::warning('Incomplete contact', ['contact' => $contact ?? []]);
|
||||
Logger::warning('Incomplete contact', ['contact' => $contact]);
|
||||
}
|
||||
|
||||
$contact_url = Contact::getProfileLink($contact);
|
||||
|
@ -61,7 +61,7 @@ class VCard
|
|||
$hide_follow = true;
|
||||
$hide_mention = true;
|
||||
}
|
||||
|
||||
|
||||
if ($contact['uid']) {
|
||||
$id = $contact['id'];
|
||||
$rel = $contact['rel'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue