1
0
Fork 0

Merge pull request #1435 from FlxAlbroscheit/develop

Access a contact directly from the contact-manager-page [UPDATED]
This commit is contained in:
fabrixxm 2015-03-20 15:13:17 +01:00
commit 9bdd41b774

View file

@ -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 = '';
}