summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-03-31 08:22:08 +0200
committerwurblzap%gmail.com <>2006-03-31 08:22:08 +0200
commit8f893f4d3aa0c635193b2f4240fc707bd31846ac (patch)
treea900fbbcafb6a2a71b9135f4786a484378560dee /Bugzilla
parent9fc0498b4a52faf9b8651076091c9d2f5ad9ea49 (diff)
downloadbugzilla-8f893f4d3aa0c635193b2f4240fc707bd31846ac.tar.gz
bugzilla-8f893f4d3aa0c635193b2f4240fc707bd31846ac.tar.xz
Bug 306695: Boolean charts forgets "0" values.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, bugreport, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index b722aee3d..bc2d39b99 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -116,7 +116,7 @@ sub canonicalise_query {
my $esc_key = url_quote($key);
foreach my $value ($self->param($key)) {
- if ($value) {
+ if (defined($value)) {
my $esc_value = url_quote($value);
push(@parameters, "$esc_key=$esc_value");