aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-15 05:20:23 -0700
committerfriendica <info@friendica.com>2013-08-15 05:20:23 -0700
commitef414ba94c134ffb6a0ac6d81eafec76519e2bda (patch)
tree8d4326bfd8bb6222f1bba42587534cbc5d1c5138 /index.php
parent92747366afd6068f563063b00bbf5f2373b6a834 (diff)
downloadvolse-hubzilla-ef414ba94c134ffb6a0ac6d81eafec76519e2bda.tar.gz
volse-hubzilla-ef414ba94c134ffb6a0ac6d81eafec76519e2bda.tar.bz2
volse-hubzilla-ef414ba94c134ffb6a0ac6d81eafec76519e2bda.zip
fix homebase variable
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 14b8ca856..d93c73233 100755
--- a/index.php
+++ b/index.php
@@ -328,7 +328,7 @@ if($a->module_loaded) {
if(x($_SESSION,'visitor_home'))
$homebase = $_SESSION['visitor_home'];
elseif(local_user())
- $homebase = $a->get_baseurl() . '/channel/' . $a->user['nickname'];
+ $homebase = $a->get_baseurl() . '/channel/' . $a->channel['channel_address'];
if(isset($homebase))
$a->page['content'] .= '<script>var homebase="' . $homebase . '" ; </script>';