mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:10:10 +00:00
Cleaned code for contact avatars
This commit is contained in:
parent
1b6f9e6225
commit
098cd543ea
4 changed files with 13 additions and 34 deletions
|
@ -78,7 +78,7 @@ class Acl extends BaseModule
|
|||
$contacts = [];
|
||||
foreach ($result as $contact) {
|
||||
$contacts[] = [
|
||||
'photo' => Contact::getMicro($contact, '', true),
|
||||
'photo' => Contact::getMicro($contact, true),
|
||||
'name' => htmlspecialchars($contact['name']),
|
||||
'nick' => $contact['addr'] ?: $contact['url'],
|
||||
'network' => $contact['network'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue