]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Directory.php
Show only the user's categories on their profile
[friendica.git] / src / Module / Directory.php
index 3a0a9fa34e211b74431d5f0a4523ba5c8f498db8..8d7b8611b64e1f03f09cf745f3a37b3a3297d673 100644 (file)
@@ -165,7 +165,7 @@ class Directory extends BaseModule
                        'img_hover'    => $contact['name'],
                        'name'         => $contact['name'],
                        'details'      => $details,
-                       'account_type' => Model\Contact::getAccountType($contact),
+                       'account_type' => Model\Contact::getAccountType($contact['contact-type']),
                        'profile'      => $profile,
                        'location'     => $location_e,
                        'tags'         => $contact['pub_keywords'],