]> git.mxchange.org Git - friendica.git/commitdiff
Restore correct highlighted contact tabs
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 13 Dec 2019 20:27:16 +0000 (15:27 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 13 Dec 2019 20:27:16 +0000 (15:27 -0500)
mod/common.php
mod/crepair.php

index 9d441f18a7c5aaa81d343ca08a14260df5d06c34..4f033de14e8a5e8a7d5a1dedd7cb5c5594f4cf5b 100644 (file)
@@ -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');
        }
index 84cb458fa2ab77dd5f4bb1b3f67d1d22db10757e..b9b8651439c531fb84c1f181387782e28daa6d21 100644 (file)
@@ -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, [