From 9ab537a54529b0444df941fed04565bd1f1a32b2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 13 Aug 2005 19:35:12 +0000 Subject: Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin r=mkanat a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.cgi') 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 -- cgit v1.2.3-24-g4f1b