mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Continued:
- added more type-hints - added some documentation - Contact::getAccountType() should only process string, not null
This commit is contained in:
parent
45b5f67bca
commit
e484b6d6dc
3 changed files with 36 additions and 36 deletions
|
@ -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' => (!empty($contact['contact-type']) ? Model\Contact::getAccountType($contact['contact-type']) : ''),
|
||||
'profile' => $profile,
|
||||
'location' => $location_e,
|
||||
'tags' => $contact['pub_keywords'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue