X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FContact.php;h=b8c8827b2428db8b3e94da2d87d658454da45f1f;hb=53810a9e42a82caf5eb351a8f2eb310f2a9961d1;hp=73be9ecab53be29cf6d7a160fb20335ef5edd6ef;hpb=879c30d4facb040d8579b9e378fbdd3ea14b8d88;p=friendica.git diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 73be9ecab5..b8c8827b24 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -901,7 +901,7 @@ class Contact extends BaseModule ]; // Show this tab only if there is visible friend list - $x = Model\Contact::countContactsOfContact($pcid); + $x = Model\Contact\Relation::countFollows($pcid); if ($x) { $tabs[] = ['label' => DI::l10n()->t('Contacts'), 'url' => "allfriends/" . $pcid,