Fix config call
This commit is contained in:
parent
dd422a1e03
commit
805dc8e6bd
|
@ -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'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user