]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[friendica.git] / include / nav.php
old mode 100755 (executable)
new mode 100644 (file)
index f40e92d..2c9c643
@@ -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'));