]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Improved support for Mastodon style content warnings
[friendica.git] / src / Model / Profile.php
index cb7fa65479513f7ea99967fcbd6c491d227ee9f2..d779355202575618dac8bf2b98e593b513c92d00 100644 (file)
@@ -362,7 +362,7 @@ class Profile
                }
 
                // Fetch the account type
-               $account_type = Contact::getAccountType($profile);
+               $account_type = Contact::getAccountType($profile['account-type']);
 
                if (!empty($profile['address']) || !empty($profile['location'])) {
                        $location = DI::l10n()->t('Location:');