aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-04 05:52:59 -0700
committerFriendika <info@friendika.com>2011-04-04 05:52:59 -0700
commit742bdd3054408433f8d639acbb07d0fd9c3ad4f7 (patch)
tree641d08f437684bdadb0e1ff6268345b27be90f6b /mod/profile.php
parent9f804b936a23c6c28307968c755eb920c26048cc (diff)
downloadvolse-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/profile.php')
-rw-r--r--mod/profile.php2
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';