Display the public contacts for profile visitors

This commit is contained in:
Michael 2021-09-19 10:06:42 +00:00
parent 24ecf5954c
commit f032f66b38
2 changed files with 12 additions and 11 deletions

View file

@ -406,7 +406,7 @@ class Profile
}
if (!$block && $show_contacts) {
$contact_block = ContactBlock::getHTML($profile);
$contact_block = ContactBlock::getHTML($profile, local_user());
if (is_array($profile) && !$profile['hide-friends']) {
$contact_count = DBA::count('contact', [