spegling av
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Avoid some more warning
This commit is contained in:
förälder
d58147413f
incheckning
8748aff110
1 ändrade filer med 3 tillägg och 1 borttagningar
|
@ -1393,7 +1393,9 @@ class Contact extends BaseObject
|
|||
}
|
||||
}
|
||||
|
||||
self::updateAvatar($data["photo"], $uid, $contact_id);
|
||||
if (!empty($data['photo'])) {
|
||||
self::updateAvatar($data['photo'], $uid, $contact_id);
|
||||
}
|
||||
|
||||
$fields = ['url', 'nurl', 'addr', 'alias', 'name', 'nick', 'keywords', 'location', 'about', 'avatar-date', 'pubkey'];
|
||||
$contact = DBA::selectFirst('contact', $fields, ['id' => $contact_id]);
|
||||
|
|
Laddar…
Lägg till tabell
Lägg till en länk
Hänvisa till i nytt ärende