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 --- chart.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chart.cgi') diff --git a/chart.cgi b/chart.cgi index 31f961cac..812803199 100755 --- a/chart.cgi +++ b/chart.cgi @@ -265,9 +265,7 @@ sub plot { validateWidthAndHeight(); $vars->{'chart'} = new Bugzilla::Chart($cgi); - my $format = &::GetFormat("reports/chart", - "", - $cgi->param('ctype')); + my $format = &::GetFormat("reports/chart", "", scalar($cgi->param('ctype'))); # Debugging PNGs is a pain; we need to be able to see the error messages if ($cgi->param('debug')) { -- cgit v1.2.3-24-g4f1b