mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 11:44:28 +02: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