From: lpsolit%gmail.com <> Date: Mon, 11 Apr 2005 00:37:57 +0000 (+0000) Subject: Bug 288861: Odd number of elements in anonymous hash at query.cgi line 392 - Patch... X-Git-Tag: bugzilla-2.19.3~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ee4c966900b97920cee28762ac81ef2c17e3fe;p=thirdparty%2Fbugzilla.git Bug 288861: Odd number of elements in anonymous hash at query.cgi line 392 - Patch by Frédéric Buclin r=wicked a=myk --- diff --git a/query.cgi b/query.cgi index 6251171395..81b2300349 100755 --- a/query.cgi +++ b/query.cgi @@ -389,7 +389,7 @@ for (my $chart = 0; $cgi->param("field$chart-0-0"); $chart++) { } push(@rows, \@cols); } - push(@charts, {'rows' => \@rows, 'negate' => $cgi->param("negate$chart")}); + push(@charts, {'rows' => \@rows, 'negate' => scalar($cgi->param("negate$chart")) }); } $default{'charts'} = \@charts;