]> git.mxchange.org Git - friendica.git/commitdiff
Force avatar update for Contact Advanced page
authornupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 21:19:02 +0000 (22:19 +0100)
committernupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 21:19:02 +0000 (22:19 +0100)
src/Module/Contact/Advanced.php

index ad0afacde147cf06e2b0ef51a2b9174d66abc70a..dc45177e37ff843a9d0ff45e4e92ec2eb5ce3c7c 100644 (file)
@@ -68,7 +68,7 @@ class Advanced extends BaseModule
                if ($photo) {
                        DI::logger()->notice('Updating photo.', ['photo' => $photo]);
 
-                       Model\Contact::updateAvatar($photo, local_user(), $contact['id']);
+                       Model\Contact::updateAvatar($photo, local_user(), $contact['id'], true);
                }
 
                if ($r) {