]> git.mxchange.org Git - friendica-addons.git/commitdiff
Make it work with master branch, part 2
authorMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 10:24:32 +0000 (12:24 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 2 Jul 2016 10:24:32 +0000 (12:24 +0200)
pumpio/pumpio.php

index cfa60e0eaed695e131e6285af26aabc1f57af8ab..f7786bee4f08593708ae9d4ff4634e352fad9867 100644 (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);
 }