From f4c1796d5e7f21f3c08c3278170d8777e14b9169 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 5 Aug 2015 17:46:17 +0200 Subject: [PATCH] [ticket/14070] Properly pass whether config should be ignored for avatars PHPBB3-14070 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 82aa91429c..38c879e272 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4837,7 +4837,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false) ); $phpbb_avatar_manager = $phpbb_container->get('avatar.manager'); - $driver = $phpbb_avatar_manager->get_driver($row['avatar_type'], $ignore_config); + $driver = $phpbb_avatar_manager->get_driver($row['avatar_type'], !$ignore_config); $html = ''; if ($driver)