]> git.mxchange.org Git - friendica.git/commitdiff
Fix config call
authorMichael <heluecht@pirati.ca>
Sun, 8 May 2022 09:34:30 +0000 (09:34 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 8 May 2022 09:34:30 +0000 (09:34 +0000)
src/Model/Contact.php

index 25af61deced979cc5a82fa986043f2d0103c7aba..c00c6b2e8aa17265c86e707adcfe928570f118bf 100644 (file)
@@ -1608,7 +1608,7 @@ class Contact
        {
                $contact = self::checkAvatarCacheByArray($contact, $no_update);
 
-               if (!DI::config()->get('system', 'avatar_cache')) {
+               if (DI::config()->get('system', 'avatar_cache')) {
                        switch ($size) {
                                case Proxy::SIZE_MICRO:
                                        if (self::getAvatarFile($contact['micro'])) {