summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-11 02:37:57 +0200
committerlpsolit%gmail.com <>2005-04-11 02:37:57 +0200
commit17ee4c966900b97920cee28762ac81ef2c17e3fe (patch)
treec23fad23a81792cb74a23c7df17fd6e17e183309 /query.cgi
parentc15ee7a4d566c9e4911ac0cc0e94edb8d357709d (diff)
downloadbugzilla-17ee4c966900b97920cee28762ac81ef2c17e3fe.tar.gz
bugzilla-17ee4c966900b97920cee28762ac81ef2c17e3fe.tar.xz
Bug 288861: Odd number of elements in anonymous hash at query.cgi line 392 - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=myk
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi2
1 files changed, 1 insertions, 1 deletions
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;