From b64f45e6ba9bfb002657204411b8e7686b102f02 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 24 Dec 2007 13:42:05 +0000 Subject: Bug 409682: Whine should not add headers for queries with 0 bugs - Patch by Justin Wood (irc: Callek) r/a=LpSolit --- whine.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'whine.pl') 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; } } -- cgit v1.2.3-24-g4f1b