aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/download/file.php')
-rw-r--r--phpBB/download/file.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 73b9e0a9f2..5dd0e1b1f3 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -100,6 +100,8 @@ if (isset($_GET['avatar']))
// worst-case default
$browser = strtolower($request->header('User-Agent', 'msie 6.0'));
+ $phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
+
$filename = request_var('avatar', '');
$avatar_group = false;
$exit = false;