summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
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;