From 58eba782cf33203f2ddec48bcab8f19e4dca56b2 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 6 Mar 2011 19:48:46 -0800 Subject: [PATCH] more tweaks #13 --- mod/network.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/network.php b/mod/network.php index 9ab11f952b..144ae5874c 100644 --- a/mod/network.php +++ b/mod/network.php @@ -234,7 +234,7 @@ function network_content(&$a, $update = 0) { $redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ; if(strlen($item['author-link'])) { - if(($item['network'] === 'dfrn') && (! $item['self'])) { + if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) { $profile_link = $redirect_url; $sparkle = ' sparkle'; } @@ -381,7 +381,7 @@ function network_content(&$a, $update = 0) { if(strlen($item['author-link'])) { $profile_link = $item['author-link']; - if(($item['network'] === 'dfrn') && (! $item['self'])) { + if(link_compare($item['author-link'],$item['url']) && ($item['network'] === 'dfrn') && (! $item['self'])) { $profile_link = $redirect_url; $sparkle = ' sparkle'; }