X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=b1b6e83dac9476d6aa38cd3954307d5eb567ea40;hb=796056a6feaf305dd9fb7c97bb43cdbc75ad0641;hp=5e8dcc5fb7325ec3cd66f2041752a62b438b2164;hpb=29f7ebe307c22b275466390937b82ccb3820fb1c;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 5e8dcc5fb7..b1b6e83dac 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -79,7 +79,7 @@ function suggest_content(App $a) { $connlnk = System::baseUrl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']); $ignlnk = System::baseUrl() . '/suggest?ignore=' . $rr['id']; $photo_menu = [ - 'profile' => [L10n::t("View Profile"), Profile::zrl($rr["url"])], + 'profile' => [L10n::t("View Profile"), Contact::magicLink($rr["url"])], 'follow' => [L10n::t("Connect/Follow"), $connlnk], 'hide' => [L10n::t('Ignore/Hide'), $ignlnk] ]; @@ -87,7 +87,7 @@ function suggest_content(App $a) { $contact_details = Contact::getDetailsByURL($rr["url"], local_user(), $rr); $entry = [ - 'url' => Profile::zrl($rr['url']), + 'url' => Contact::magicLink($rr['url']), 'itemurl' => (($contact_details['addr'] != "") ? $contact_details['addr'] : $rr['url']), 'img_hover' => $rr['url'], 'name' => $contact_details['name'],