aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-06 19:48:46 -0800
committerFriendika <info@friendika.com>2011-03-06 19:48:46 -0800
commit58eba782cf33203f2ddec48bcab8f19e4dca56b2 (patch)
tree004b9690a3272f1f91df7ca064b01c27cfa31461
parent26c4054652ac7aee3c4eb42e5d3721edf9bb0334 (diff)
downloadvolse-hubzilla-58eba782cf33203f2ddec48bcab8f19e4dca56b2.tar.gz
volse-hubzilla-58eba782cf33203f2ddec48bcab8f19e4dca56b2.tar.bz2
volse-hubzilla-58eba782cf33203f2ddec48bcab8f19e4dca56b2.zip
more tweaks #13
-rw-r--r--mod/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index 9ab11f952..144ae5874 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';
}