diff --git a/mod/contacts.php b/mod/contacts.php index 515d9d5dcb..ea16e1475c 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -405,6 +405,9 @@ function contacts_content(&$a) { break; } + if(!in_array($contact['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA))) + $relation_text = ""; + $relation_text = sprintf($relation_text,$contact['name']); if(($contact['network'] === NETWORK_DFRN) && ($contact['rel'])) { diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl index b43560ef78..9d5063146e 100644 --- a/view/templates/contact_edit.tpl +++ b/view/templates/contact_edit.tpl @@ -16,7 +16,9 @@