]> git.mxchange.org Git - friendica.git/blobdiff - mod/dirfind.php
Merge pull request #2132 from rabuzarus/0112_vier_css
[friendica.git] / mod / dirfind.php
index cf47f7e8853647d5733fa05836714da7e881c21f..3f9c82576a3bf02845082e266ba1dfb0e66095cf 100644 (file)
@@ -51,7 +51,7 @@ function dirfind_content(&$a, $prefix = "") {
 
                if ($discover_user) {
                        $j = new stdClass();
-                       $j->total = $count[0]["total"];
+                       $j->total = 1;
                        $j->items_page = 1;
                        $j->page = $a->pager['page'];
 
@@ -205,6 +205,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') : ''),
                                        'network' => network_to_name($jj->network, $jj->url),
                                        'id' => ++$id,
                                );