diff options
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 78334ec18..ec318b021 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -1020,7 +1020,7 @@ sub get_content_type { # The user asked us to auto-detect the content type, so use the type # specified in the HTTP request headers. $content_type = - $cgi->uploadInfo($cgi->param('data'))->{'Content-Type'}; + $cgi->uploadInfo(scalar $cgi->param('data'))->{'Content-Type'}; $content_type || ThrowUserError("missing_content_type"); # Internet Explorer sends image/x-png for PNG images, |