From: Michael Date: Sun, 8 May 2022 09:34:30 +0000 (+0000) Subject: Fix config call X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=805dc8e6bdc0088caf4509d546365c203d528cb5;p=friendica.git Fix config call --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 25af61dece..c00c6b2e8a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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'])) {