From 3ed3e8ff424bc6999b8c33584a390365e7b23032 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 2 Feb 2020 22:19:02 +0100 Subject: [PATCH] Force avatar update for Contact Advanced page --- src/Module/Contact/Advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Contact/Advanced.php b/src/Module/Contact/Advanced.php index ad0afacde1..dc45177e37 100644 --- a/src/Module/Contact/Advanced.php +++ b/src/Module/Contact/Advanced.php @@ -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) { -- 2.39.5