Fix config call
This commit is contained in:
parent
dd422a1e03
commit
805dc8e6bd
|
@ -1608,7 +1608,7 @@ class Contact
|
||||||
{
|
{
|
||||||
$contact = self::checkAvatarCacheByArray($contact, $no_update);
|
$contact = self::checkAvatarCacheByArray($contact, $no_update);
|
||||||
|
|
||||||
if (!DI::config()->get('system', 'avatar_cache')) {
|
if (DI::config()->get('system', 'avatar_cache')) {
|
||||||
switch ($size) {
|
switch ($size) {
|
||||||
case Proxy::SIZE_MICRO:
|
case Proxy::SIZE_MICRO:
|
||||||
if (self::getAvatarFile($contact['micro'])) {
|
if (self::getAvatarFile($contact['micro'])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user