diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-01 14:11:37 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-01 14:11:37 +0200 |
commit | 7d23149a61f75923b2c71a288a722ee219f5e6ba (patch) | |
tree | dea64e1cfc15eb6f95e7440e532258dfb909c21c /include/nav.php | |
parent | 59b45f7fc12027c387f04a2121ea398c1d534626 (diff) | |
parent | bb67ca9f1c61f96db6da15aee646a20c0b77a255 (diff) | |
download | volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.tar.gz volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.tar.bz2 volse-hubzilla-7d23149a61f75923b2c71a288a722ee219f5e6ba.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'include/nav.php')
-rwxr-xr-x | include/nav.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index f40e92dbc..2c9c643a9 100755 --- 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')); |