From b82f22aa0e18d33811ae2644c9c599c8165a1d21 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 Aug 2020 08:20:31 +0000 Subject: [PATCH] Fix missing field --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index ed8bc7d55..9b0f6829d 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1560,7 +1560,7 @@ class Contact */ public static function updateAvatar(int $cid, string $avatar, bool $force = false) { - $contact = DBA::selectFirst('contact', ['uid', 'avatar', 'photo', 'thumb', 'micro', 'nurl'], ['id' => $cid, 'self' => false]); + $contact = DBA::selectFirst('contact', ['uid', 'avatar', 'photo', 'thumb', 'micro', 'nurl', 'url'], ['id' => $cid, 'self' => false]); if (!DBA::isResult($contact)) { return; }