Merge pull request #5945 from zeroadam/More-5493

Remaining contacts to contact
This commit is contained in:
Hypolite Petovan 2018-10-17 07:52:47 -04:00 committed by GitHub
commit 55e4b5943c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -853,8 +853,8 @@ function item_photo_menu($item) {
if ($cid && !$item['self']) { if ($cid && !$item['self']) {
$poke_link = 'poke/?f=&c=' . $cid; $poke_link = 'poke/?f=&c=' . $cid;
$contact_url = 'contacts/' . $cid; $contact_url = 'contact/' . $cid;
$posts_link = 'contacts/' . $cid . '/posts'; $posts_link = 'contact/' . $cid . '/posts';
if (in_array($network, [Protocol::DFRN, Protocol::DIASPORA])) { if (in_array($network, [Protocol::DFRN, Protocol::DIASPORA])) {
$pm_url = 'message/new/' . $cid; $pm_url = 'message/new/' . $cid;