Access a contact directly from the contact-manager-page
Improved my former commit (see: https://github.com/friendica/friendica/pull/1428)
This commit is contained in:
parent
82359bb6cc
commit
1e15cba631
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function contacts_init(&$a) {
|
|||
$vcard_widget = replace_macros(get_markup_template("vcard-widget.tpl"),array(
|
||||
'$name' => $a->data['contact']['name'],
|
||||
'$photo' => $a->data['contact']['photo'],
|
||||
'$url' => $a->data['contact']['url']
|
||||
'$url' => ($a->data['contact']['network'] == 'dfrn') ? $a->get_baseurl()."/redir/".$a->data['contact']['id'] : $a->data['contact']['url']
|
||||
));
|
||||
$follow_widget = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue