mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
make photo menu work better on remote profile logins
This commit is contained in:
parent
9f804b936a
commit
742bdd3054
2 changed files with 9 additions and 3 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue