aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-12-24 13:42:05 +0000
committerlpsolit%gmail.com <>2007-12-24 13:42:05 +0000
commitb64f45e6ba9bfb002657204411b8e7686b102f02 (patch)
treed46f927dfe247ba02a0f039a9a69e4329fddd60a /whine.pl
parentBug 409598: Explain our version numbers in UPGRADING-pre-2.8 (diff)
downloadbugzilla-b64f45e6ba9bfb002657204411b8e7686b102f02.tar.gz
bugzilla-b64f45e6ba9bfb002657204411b8e7686b102f02.tar.bz2
bugzilla-b64f45e6ba9bfb002657204411b8e7686b102f02.zip
Bug 409682: Whine should not add headers for queries with 0 bugs - Patch by Justin Wood (irc: Callek) <bugspam.Callek@gmail.com> r/a=LpSolit
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whine.pl b/whine.pl
index 963805be6..8f4671321 100755
--- a/whine.pl
+++ b/whine.pl
@@ -469,7 +469,7 @@ sub run_queries {
push @{$thisquery->{'bugs'}}, $bug;
}
}
- unless ($thisquery->{'onemailperbug'}) {
+ if (!$thisquery->{'onemailperbug'} && @{$thisquery->{'bugs'}}) {
push @{$return_queries}, $thisquery;
}
}