]> git.mxchange.org Git - friendica.git/commitdiff
Fix contact field name
authorMichael <heluecht@pirati.ca>
Sun, 8 May 2022 08:57:41 +0000 (08:57 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 8 May 2022 08:57:41 +0000 (08:57 +0000)
src/Model/Contact.php

index eb065ce8db86f923686827eac019c679158eaff5..25af61deced979cc5a82fa986043f2d0103c7aba 100644 (file)
@@ -2094,7 +2094,7 @@ class Contact
                } elseif (self::getAvatarFile($contact['photo']) && self::getAvatarFile($contact['thumb']) && self::getAvatarFile($contact['micro'])) {
                        $fields['photo'] = $contact['photo'];
                        $fields['thumb'] = $contact['thumb'];
-                       $fields['thumb'] = $contact['thumb'];
+                       $fields['micro'] = $contact['micro'];
                        Logger::debug('Using existing cache files', ['uri-id' => $contact['uri-id'], 'fields' => $fields]);
                        return $fields;
                }