mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
Rearranged order for the "updateAvatar" function
This commit is contained in:
parent
2c69a9c359
commit
cc7a1b181c
3 changed files with 5 additions and 5 deletions
|
@ -1068,7 +1068,7 @@ function pumpio_get_contact($uid, $contact, $no_insert = false)
|
|||
}
|
||||
|
||||
if (!empty($contact->image->url)) {
|
||||
Contact::updateAvatar($contact->image->url, $uid, $contact_id);
|
||||
Contact::updateAvatar($contact_id, $contact->image->url);
|
||||
}
|
||||
|
||||
return $contact_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue