aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php
index 3fa5a45a1c..bcb360cac7 100644
--- a/phpBB/includes/functions_download.php
+++ b/phpBB/includes/functions_download.php
@@ -276,7 +276,7 @@ function header_filename($file)
{
global $request;
- $user_agent = $request->header('User-Agent', '', true);
+ $user_agent = $request->header('User-Agent');
// There be dragons here.
// Not many follows the RFC...