]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
legacy support for function parseurl_getsiteinfo_cached()
[friendica.git] / mod / suggest.php
index 00033b2d246feba8b84f961dc4edf4a8587844aa..4399450eccf2a1330882886d10e9923bc820e383 100644 (file)
@@ -95,7 +95,7 @@ function suggest_content(&$a) {
                        'details'       => $contact_details['location'],
                        'tags'          => $contact_details['keywords'],
                        'about'         => $contact_details['about'],
-                       'account_type'  => (($contact_details['community']) ? t('Forum') : ''),
+                       'account_type'  => account_type($contact_details),
                        'ignlnk' => $ignlnk,
                        'ignid' => $rr['id'],
                        'conntxt' => t('Connect'),
@@ -113,7 +113,6 @@ function suggest_content(&$a) {
        $o .= replace_macros($tpl,array(
                '$title' => t('Friend Suggestions'),
                '$contacts' => $entries,
-               
        ));
 
        return $o;