summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-12-24 14:42:05 +0100
committerlpsolit%gmail.com <>2007-12-24 14:42:05 +0100
commitb64f45e6ba9bfb002657204411b8e7686b102f02 (patch)
treed46f927dfe247ba02a0f039a9a69e4329fddd60a
parent796ff2627dc599d5011de3007716c26cc2d6ea8b (diff)
downloadbugzilla-b64f45e6ba9bfb002657204411b8e7686b102f02.tar.gz
bugzilla-b64f45e6ba9bfb002657204411b8e7686b102f02.tar.xz
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
-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;
}
}