mirror of
https://github.com/friendica/friendica
synced 2024-11-14 03:42:53 +00:00
Contact::getAccountType()'s parameter is never a string, ops
This commit is contained in:
parent
f3599fa3e9
commit
5792a01a01
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Directory extends BaseModule
|
||||||
'img_hover' => $contact['name'],
|
'img_hover' => $contact['name'],
|
||||||
'name' => $contact['name'],
|
'name' => $contact['name'],
|
||||||
'details' => $details,
|
'details' => $details,
|
||||||
'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? ''),
|
'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? 0),
|
||||||
'profile' => $profile,
|
'profile' => $profile,
|
||||||
'location' => $location_e,
|
'location' => $location_e,
|
||||||
'tags' => $contact['pub_keywords'],
|
'tags' => $contact['pub_keywords'],
|
||||||
|
|
Loading…
Reference in a new issue