X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=2c9c643a92f596ec7d6c10cef84fbdc76b3c02a2;hb=34144a3b4a4559beeb1b8606649bd92f6bd270ec;hp=f40e92dbcec7f41263bbb6de7845efbdd34dce99;hpb=5189a56ef832e1c5c6976f87d77d218bf4a6c221;p=friendica.git diff --git a/include/nav.php b/include/nav.php old mode 100755 new mode 100644 index f40e92dbce..2c9c643a92 --- a/include/nav.php +++ b/include/nav.php @@ -69,7 +69,9 @@ function nav(&$a) { * "Home" should also take you home from an authenticated remote profile connection */ - $homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : ''); + $homelink = get_my_url(); + if(! $homelink) + $homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : ''); if(($a->module != 'home') && (! (local_user()))) $nav['home'] = array($homelink, t('Home'), "", t('Home Page'));