diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/connedit.php | 2 | ||||
-rw-r--r-- | mod/viewconnections.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/connedit.php b/mod/connedit.php index fde116b48..2719b7732 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -316,7 +316,7 @@ function connedit_content(&$a) { array( 'label' => t('View Profile'), - 'url' => $a->get_baseurl(true) . '/chanview/?f=&cid=' . $contact['abook_id'], + 'url' => chanlink_cid($contact['abook_id']), 'sel' => '', 'title' => sprintf( t('View %s\'s profile'), $contact['xchan_name']), ), diff --git a/mod/viewconnections.php b/mod/viewconnections.php index 4f6f81d82..84b976042 100644 --- a/mod/viewconnections.php +++ b/mod/viewconnections.php @@ -48,7 +48,7 @@ function viewconnections_content(&$a) { foreach($r as $rr) { - $url = zid($rr['xchan_url']); + $url = chanlink_url($rr['xchan_url']); if($url) { $contacts[] = array( 'id' => $rr['abook_id'], |