Suppress relationship string in template vars for public contact
This commit is contained in:
parent
6f944f1e53
commit
98b0f97639
1 changed files with 17 additions and 15 deletions
|
@ -984,6 +984,7 @@ class Contact extends BaseModule
|
||||||
$dir_icon = '';
|
$dir_icon = '';
|
||||||
$alt_text = '';
|
$alt_text = '';
|
||||||
|
|
||||||
|
if ($rr['uid']) {
|
||||||
switch ($rr['rel']) {
|
switch ($rr['rel']) {
|
||||||
case Model\Contact::FRIEND:
|
case Model\Contact::FRIEND:
|
||||||
$dir_icon = 'images/lrarrow.gif';
|
$dir_icon = 'images/lrarrow.gif';
|
||||||
|
@ -1003,6 +1004,7 @@ class Contact extends BaseModule
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$url = Model\Contact::magicLink($rr['url']);
|
$url = Model\Contact::magicLink($rr['url']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue