Merge pull request #3809 from marc1706/ticket/14070

[ticket/14070] Properly pass whether config should be ignored for avatars

* marc1706/ticket/14070:
  [ticket/14070] Properly pass whether config should be ignored for avatars
This commit is contained in:
Tristan Darricau 2015-08-28 16:27:05 +02:00
commit 90d18356a0

View file

@ -4837,7 +4837,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false)
); );
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager'); $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 = ''; $html = '';
if ($driver) if ($driver)