diff options
author | Friendika <info@friendika.com> | 2011-04-04 05:52:59 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-04 05:52:59 -0700 |
commit | 742bdd3054408433f8d639acbb07d0fd9c3ad4f7 (patch) | |
tree | 641d08f437684bdadb0e1ff6268345b27be90f6b /mod | |
parent | 9f804b936a23c6c28307968c755eb920c26048cc (diff) | |
download | volse-hubzilla-742bdd3054408433f8d639acbb07d0fd9c3ad4f7.tar.gz volse-hubzilla-742bdd3054408433f8d639acbb07d0fd9c3ad4f7.tar.bz2 volse-hubzilla-742bdd3054408433f8d639acbb07d0fd9c3ad4f7.zip |
make photo menu work better on remote profile logins
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php index ab1e8f738..b421591f6 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -402,7 +402,7 @@ function profile_content(&$a, $update = 0) { // This is my profile page but I'm not the author of this post/comment. If it's somebody that's a fan or mutual friend, // I can go directly to their profile as an authenticated guest. - if(local_user() && ($item['contact-uid'] == $_SESSION['uid']) + if(local_user() && ($item['contact-uid'] == local_user()) && ($item['network'] === 'dfrn') && (! $item['self'] )) { $profile_url = $redirect_url; $sparkle = ' sparkle'; |