diff options
author | lpsolit%gmail.com <> | 2005-08-13 19:35:12 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-13 19:35:12 +0000 |
commit | 9ab537a54529b0444df941fed04565bd1f1a32b2 (patch) | |
tree | fd5a027e2f78fa0b972b51ae1c39057932f81a50 /chart.cgi | |
parent | Bug 303669: Bugzilla mis-uses perl subroutine prototypes (diff) | |
download | bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.gz bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.bz2 bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.zip |
Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'chart.cgi')
-rwxr-xr-x | chart.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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')) { |