Make it work with master branch, part 2

This commit is contained in:
Michael Vogel 2016-07-02 12:24:32 +02:00
parent edbf318262
commit c5ff442c39
1 changed files with 2 additions and 1 deletions

View File

@ -1055,7 +1055,8 @@ function pumpio_get_contact($uid, $contact, $no_insert = false) {
*/
}
update_contact_avatar($contact->image->url, $uid, $contact_id);
if (function_exists("update_contact_avatar"))
update_contact_avatar($contact->image->url, $uid, $contact_id);
return($contact_id);
}