new item view: sparkle links not redirecting
This commit is contained in:
parent
216f038456
commit
fecef140d5
1 changed files with 2 additions and 0 deletions
|
@ -230,6 +230,8 @@ function network_content(&$a, $update = 0) {
|
|||
$profile_avatar = ((strlen($item['author-avatar'])) ? $item['author-avatar'] : $item['thumb']);
|
||||
$profile_link = ((strlen($item['author-link'])) ? $item['author-link'] : $item['url']);
|
||||
|
||||
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
||||
|
||||
if(strlen($item['author-link']) && link_compare($item['author-link'],$item['url'])
|
||||
&& ($item['network'] === 'dfrn') && (! $item['self'])) {
|
||||
$profile_link = $redirect_url;
|
||||
|
|
Loading…
Reference in a new issue