From: Hypolite Petovan Date: Fri, 13 Dec 2019 20:27:16 +0000 (-0500) Subject: Restore correct highlighted contact tabs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c23543f4634e565b2af269dbcec6996f8e29a999;p=friendica.git Restore correct highlighted contact tabs --- diff --git a/mod/common.php b/mod/common.php index 9d441f18a7..4f033de14e 100644 --- a/mod/common.php +++ b/mod/common.php @@ -136,7 +136,7 @@ function common_content(App $a) $title = ''; $tab_str = ''; if ($cmd === 'loc' && $cid && local_user() == $uid) { - $tab_str = Module\Contact::getTabsHTML($a, $contact, 4); + $tab_str = Module\Contact::getTabsHTML($a, $contact, 5); } else { $title = L10n::t('Common Friends'); } diff --git a/mod/crepair.php b/mod/crepair.php index 84cb458fa2..b9b8651439 100644 --- a/mod/crepair.php +++ b/mod/crepair.php @@ -134,7 +134,7 @@ function crepair_content(App $a) $update_profile = in_array($contact['network'], Protocol::FEDERATED); - $tab_str = Module\Contact::getTabsHTML($a, $contact, 5); + $tab_str = Module\Contact::getTabsHTML($a, $contact, 6); $tpl = Renderer::getMarkupTemplate('crepair.tpl'); $o = Renderer::replaceMacros($tpl, [