]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 288861: Odd number of elements in anonymous hash at query.cgi line 392 - Patch...
authorlpsolit%gmail.com <>
Mon, 11 Apr 2005 00:37:57 +0000 (00:37 +0000)
committerlpsolit%gmail.com <>
Mon, 11 Apr 2005 00:37:57 +0000 (00:37 +0000)
query.cgi

index 6251171395967f3ee8d0ad56de54d622de78c42e..81b23003498d53ce86abc8af24d847100322d06b 100755 (executable)
--- 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;