From: Michael Vogel Date: Sat, 2 Jul 2016 10:24:32 +0000 (+0200) Subject: Make it work with master branch, part 2 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5ff442c39cd9d8fb83db2c73b549c8924cf91df;p=friendica-addons.git Make it work with master branch, part 2 --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index cfa60e0e..f7786bee 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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); }