aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index dfd98961b..dbad2a158 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -172,7 +172,7 @@ function contacts_content(&$a) {
break;
}
- if($r[0]['rel'] != REL_FAN) {
+ if(($r[0]['network'] === 'dfrn') && ($r[0]['rel'])) {
$url = "redir/{$r[0]['id']}";
$sparkle = ' class="sparkle" ';
}
@@ -272,7 +272,7 @@ function contacts_content(&$a) {
break;
}
- if($rr['rel'] != REL_FAN) {
+ if(($rr['network'] === 'dfrn') && ($rr['rel'])) {
$url = "redir/{$rr['id']}";
$sparkle = ' class="sparkle" ';
}