diff --git a/include/Contact.php b/include/Contact.php index 6eda0b6c5..7524c0cea 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -114,8 +114,8 @@ function contact_photo_menu($contact) { $pm_url = $a->get_baseurl() . '/message/new/' . $contact['id']; } - $contact_url = $a->get_baseurl() . '/contacts/' . $cid; - $posts_link = $a->get_baseurl() . '/network/?cid=' . $cid; + $contact_url = $a->get_baseurl() . '/contacts/' . $contact['id']; + $posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id']; $menu = Array( t("View status") => $status_link, diff --git a/view/contact_template.tpl b/view/contact_template.tpl index a74cebab5..2fa167feb 100644 --- a/view/contact_template.tpl +++ b/view/contact_template.tpl @@ -1,23 +1,12 @@