Contact::getAccountType()'s parameter is never a string, ops

This commit is contained in:
Roland Häder 2022-06-19 09:35:53 +02:00
parent f3599fa3e9
commit 5792a01a01
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -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'],