]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Remove poke feature
[friendica.git] / src / Module / Contact.php
index d571016f199ff08b7c86ffd84b703f2ae9e212bb..ccc61d343897af2befdeebaac4d5dad754a9d69d 100644 (file)
@@ -186,7 +186,7 @@ class Contact extends BaseModule
                        $follow_widget = Widget::follow();
                }
 
-               $account_widget = Widget::accounttypes($_SERVER['REQUEST_URI'], $accounttype);
+               $account_widget = Widget::accountTypes($_SERVER['REQUEST_URI'], $accounttype);
                $networks_widget = Widget::networks($_SERVER['REQUEST_URI'], $nets);
                $rel_widget = Widget::contactRels($_SERVER['REQUEST_URI'], $rel);
                $groups_widget = Widget::groups($_SERVER['REQUEST_URI'], $group);
@@ -558,7 +558,7 @@ class Contact extends BaseModule
                        'details'      => $contact['location'],
                        'tags'         => $contact['keywords'],
                        'about'        => $contact['about'],
-                       'account_type' => Model\Contact::getAccountType($contact),
+                       'account_type' => Model\Contact::getAccountType($contact['contact-type']),
                        'sparkle'      => $sparkle,
                        'itemurl'      => ($contact['addr'] ?? '') ?: $contact['url'],
                        'network'      => ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol'], $contact['gsid']),