mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
[feature/avatars] Let avatar manager handle $ignore_config
The avatar manager already handles if avatars are enabled. It should also handle ignoring the config settings. PHPBB3-10018
This commit is contained in:
@@ -1367,7 +1367,7 @@ function get_avatar($row, $alt, $ignore_config = false)
|
||||
);
|
||||
|
||||
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
|
||||
$avatar = $phpbb_avatar_manager->get_driver($row['avatar_type']);
|
||||
$avatar = $phpbb_avatar_manager->get_driver($row['avatar_type'], $ignore_config);
|
||||
$html = '';
|
||||
|
||||
if ($avatar)
|
||||
|
Reference in New Issue
Block a user