Merge remote-tracking branch 'upstream/develop' into user-contact

This commit is contained in:
Michael 2021-09-25 18:34:55 +00:00
commit 3fddf3807a
12 changed files with 157 additions and 60 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', [