added url for magic link again
This commit is contained in:
parent
a5d33444ee
commit
83e5fe2539
|
@ -71,13 +71,13 @@ class AllFriends extends BaseModule
|
||||||
} else {
|
} else {
|
||||||
$connlnk = $app->getBaseURL() . '/follow/?url=' . $friend['url'];
|
$connlnk = $app->getBaseURL() . '/follow/?url=' . $friend['url'];
|
||||||
$photoMenu = [
|
$photoMenu = [
|
||||||
'profile' => [L10n::t('View Profile'), Model\Contact::magicLinkbyId($friend['id'])],
|
'profile' => [L10n::t('View Profile'), Model\Contact::magicLinkbyId($friend['id'], $friend['url'])],
|
||||||
'follow' => [L10n::t('Connect/Follow'), $connlnk]
|
'follow' => [L10n::t('Connect/Follow'), $connlnk]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
$entry = [
|
$entry = [
|
||||||
'url' => Model\Contact::magicLinkbyId($friend['id']),
|
'url' => Model\Contact::magicLinkbyId($friend['id'], $friend['url']),
|
||||||
'itemurl' => defaults($contactDetails, 'addr', $friend['url']),
|
'itemurl' => defaults($contactDetails, 'addr', $friend['url']),
|
||||||
'name' => $contactDetails['name'],
|
'name' => $contactDetails['name'],
|
||||||
'thumb' => ProxyUtils::proxifyUrl($contactDetails['thumb'], false, ProxyUtils::SIZE_THUMB),
|
'thumb' => ProxyUtils::proxifyUrl($contactDetails['thumb'], false, ProxyUtils::SIZE_THUMB),
|
||||||
|
|
Loading…
Reference in a new issue