X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirfind.php;h=215731978cfe6adeab59cb72e5a5da557c3ad9da;hb=789e1f4275bb216183f93cc392bd6faebfe87fb9;hp=0638fe14fa07438e204eeb266f896809e7ed4444;hpb=2e9d233367068fceac8005126d14a2002539c772;p=friendica.git diff --git a/mod/dirfind.php b/mod/dirfind.php index 0638fe14fa..215731978c 100644 --- a/mod/dirfind.php +++ b/mod/dirfind.php @@ -156,7 +156,7 @@ function dirfind_content(&$a, $prefix = "") { } // Add found profiles from the global directory to the local directory - proc_run('php','include/discover_poco.php', "dirsearch", urlencode($search)); + proc_run(PRIORITY_LOW, 'include/discover_poco.php', "dirsearch", urlencode($search)); } else { $p = (($a->pager['page'] != 1) ? '&p=' . $a->pager['page'] : ''); @@ -220,7 +220,7 @@ function dirfind_content(&$a, $prefix = "") { '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), 'network' => network_to_name($jj->network, $jj->url), 'id' => ++$id, );