]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/VCard.php
Merge pull request #11269 from tobiasd/20220221-de
[friendica.git] / src / Content / Widget / VCard.php
index 81a1d0cf7acc98ca4a26a90c3a32b4486f096d00..7f75c6c9c0e588a9c567d30cdc1a0530007a8c8a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -99,7 +99,7 @@ class VCard
                        '$network_link'     => $network_link,
                        '$network_avatar'   => $network_avatar,
                        '$network'          => DI::l10n()->t('Network:'),
-                       '$account_type'     => Contact::getAccountType($contact),
+                       '$account_type'     => Contact::getAccountType($contact['contact-type']),
                        '$follow'           => DI::l10n()->t('Follow'),
                        '$follow_link'      => $follow_link,
                        '$unfollow'         => DI::l10n()->t('Unfollow'),