From: Roland Häder Date: Sun, 19 Jun 2022 07:35:53 +0000 (+0200) Subject: Contact::getAccountType()'s parameter is never a string, ops X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5792a01a010a5a4a25b8caf65df6954f83a28b9c;p=friendica.git Contact::getAccountType()'s parameter is never a string, ops --- diff --git a/src/Module/Directory.php b/src/Module/Directory.php index 5705f33e13..9fac9db302 100644 --- a/src/Module/Directory.php +++ b/src/Module/Directory.php @@ -166,7 +166,7 @@ class Directory extends BaseModule 'img_hover' => $contact['name'], 'name' => $contact['name'], 'details' => $details, - 'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? ''), + 'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? 0), 'profile' => $profile, 'location' => $location_e, 'tags' => $contact['pub_keywords'],