]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
Add new INI config files
[friendica.git] / mod / suggest.php
index 5e8dcc5fb7325ec3cd66f2041752a62b438b2164..b1b6e83dac9476d6aa38cd3954307d5eb567ea40 100644 (file)
@@ -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'],