aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_upload.php')
-rw-r--r--phpBB/includes/functions_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php
index 68e06765a5..d3110869af 100644
--- a/phpBB/includes/functions_upload.php
+++ b/phpBB/includes/functions_upload.php
@@ -577,7 +577,7 @@ class fileupload
if (function_exists('mime_content_type'))
{
- $mimetype = mime_content_type($filename);
+ $mimetype = mime_content_type($source_file);
}
// Some browsers choke on a mimetype of application/octet-stream