diff options
author | lpsolit%gmail.com <> | 2005-08-13 21:35:12 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-13 21:35:12 +0200 |
commit | 9ab537a54529b0444df941fed04565bd1f1a32b2 (patch) | |
tree | fd5a027e2f78fa0b972b51ae1c39057932f81a50 /report.cgi | |
parent | dddc17ec8b38d7f90b7be7d9fd6ab9629077f3df (diff) | |
download | bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.gz bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.xz |
Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'report.cgi')
-rwxr-xr-x | report.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi index e7b94ffc2..6effd485e 100755 --- a/report.cgi +++ b/report.cgi @@ -293,7 +293,7 @@ else { ThrowUserError("unknown_action", {action => $cgi->param('action')}); } -my $format = GetFormat("reports/report", $formatparam, $cgi->param('ctype')); +my $format = GetFormat("reports/report", $formatparam, scalar($cgi->param('ctype'))); # If we get a template or CGI error, it comes out as HTML, which isn't valid # PNG data, and the browser just displays a "corrupt PNG" message. So, you can |