]> git.mxchange.org Git - friendica.git/commitdiff
more tweaks #13
authorFriendika <info@friendika.com>
Mon, 7 Mar 2011 03:48:46 +0000 (19:48 -0800)
committerFriendika <info@friendika.com>
Mon, 7 Mar 2011 03:48:46 +0000 (19:48 -0800)
mod/network.php

index 9ab11f952b405491e288a3e5112aef275e45f92b..144ae5874c4d901978afdbb572f23c4b14d748af 100644 (file)
@@ -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';
                                }