From 17ee4c966900b97920cee28762ac81ef2c17e3fe Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 11 Apr 2005 00:37:57 +0000 Subject: Bug 288861: Odd number of elements in anonymous hash at query.cgi line 392 - Patch by Frédéric Buclin r=wicked a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- query.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 625117139..81b230034 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; -- cgit v1.2.3-24-g4f1b