aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-10 16:40:12 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-10 16:40:12 +0200
commit070e081ae9be8d43b92425cc9a9131d5977f8e00 (patch)
treeb6544bb852e16c66b4dc616899fd05c13bf9afbc /mod
parentf64e2d63b9ee66482b3461ecb6ee8f7776e23b87 (diff)
downloadvolse-hubzilla-070e081ae9be8d43b92425cc9a9131d5977f8e00.tar.gz
volse-hubzilla-070e081ae9be8d43b92425cc9a9131d5977f8e00.tar.bz2
volse-hubzilla-070e081ae9be8d43b92425cc9a9131d5977f8e00.zip
Fix url in profile tabs
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php2
-rw-r--r--mod/profile.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 623b15a93..284169221 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -832,7 +832,7 @@ function photos_content(&$a) {
// tabs
$_is_owner = (local_user() && (local_user() == $owner_uid));
- $o .= profile_tabs($a,$_is_owner);
+ $o .= profile_tabs($a,$_is_owner, $a->data['user']['nickname']);
//
// dispatch request
diff --git a/mod/profile.php b/mod/profile.php
index 9da0784d3..a453f72f1 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -110,7 +110,7 @@ function profile_content(&$a, $update = 0) {
if(x($_GET,'tab'))
$tab = notags(trim($_GET['tab']));
- $o.=profile_tabs($a, $is_owner);
+ $o.=profile_tabs($a, $is_owner, $a->profile['nickname']);
if($tab === 'profile') {