mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:10:10 +00:00
Fetch photo fields, ensuring that they are filled
This commit is contained in:
parent
74bc3de472
commit
b79bb0d2cb
12 changed files with 82 additions and 32 deletions
|
@ -294,7 +294,7 @@ class Acl extends BaseModule
|
|||
foreach ($r as $g) {
|
||||
$entry = [
|
||||
'type' => 'c',
|
||||
'photo' => ProxyUtils::proxifyUrl($g['micro'], false, ProxyUtils::SIZE_MICRO),
|
||||
'photo' => Contact::getMicro($g),
|
||||
'name' => htmlspecialchars($g['name']),
|
||||
'id' => intval($g['id']),
|
||||
'network' => $g['network'],
|
||||
|
@ -355,7 +355,7 @@ class Acl extends BaseModule
|
|||
if (count($contact) > 0) {
|
||||
$unknown_contacts[] = [
|
||||
'type' => 'c',
|
||||
'photo' => ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO),
|
||||
'photo' => Contact::getMicro($contact),
|
||||
'name' => htmlspecialchars($contact['name']),
|
||||
'id' => intval($contact['cid']),
|
||||
'network' => $contact['network'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue