aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-24 22:21:35 -0700
committerfriendica <info@friendica.com>2012-10-24 22:21:35 -0700
commit939543b26d102c388c3653a7727e95e1aae2223d (patch)
tree2ef0fe3a7098f00fe07330dc4fee8d1eb83c400c /boot.php
parent05fd2c758c318f8beb441fb8b75e7328f1643e2a (diff)
downloadvolse-hubzilla-939543b26d102c388c3653a7727e95e1aae2223d.tar.gz
volse-hubzilla-939543b26d102c388c3653a7727e95e1aae2223d.tar.bz2
volse-hubzilla-939543b26d102c388c3653a7727e95e1aae2223d.zip
more progress on the main photos module
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index ee6848ce0..569193666 100644
--- a/boot.php
+++ b/boot.php
@@ -1747,8 +1747,10 @@ if(! function_exists('profile_tabs')){
function profile_tabs($a, $is_owner=False, $nickname=Null){
//echo "<pre>"; var_dump($a->user); killme();
+ $channel = $a->get_channel();
+
if (is_null($nickname))
- $nickname = $a->user['nickname'];
+ $nickname = $a->channel['channel_address'];
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));
@@ -1765,7 +1767,7 @@ if(! function_exists('profile_tabs')){
),
array(
'label' => t('Profile'),
- 'url' => $url.'/?tab=profile',
+ 'url' => $url.'?tab=profile',
'sel' => ((isset($tab) && $tab=='profile')?'active':''),
'title' => t('Profile Details'),
'id' => 'profile-tab',