Browse Source

Bugfix: Only show the feed link for local profiles

tags/3.4.3
Michael Vogel 4 years ago
parent
commit
1cd06df5fa
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      include/identity.php

+ 5
- 5
include/identity.php View File

@@ -218,15 +218,15 @@ if(! function_exists('profile_sidebar')) {
if ($connect AND ($profile['network'] != NETWORK_DFRN) AND !isset($profile['remoteconnect']))
$connect = false;

if ($connect)
if (isset($profile['remoteconnect']))
$remoteconnect = $profile['remoteconnect'];

if ($connect AND ($profile['network'] == NETWORK_DFRN) AND !isset($remoteconnect))
$subscribe_feed = t("Atom feed");
else
$subscribe_feed = false;

if (isset($profile['remoteconnect']))
$remoteconnect = $profile['remoteconnect'];

if( get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()) )
if(get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()))
$wallmessage = t('Message');
else
$wallmessage = false;


Loading…
Cancel
Save