]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 409682: Whine should not add headers for queries with 0 bugs - Patch by Justin...
authorlpsolit%gmail.com <>
Mon, 24 Dec 2007 13:42:05 +0000 (13:42 +0000)
committerlpsolit%gmail.com <>
Mon, 24 Dec 2007 13:42:05 +0000 (13:42 +0000)
whine.pl

index 963805be69f9e2a3e1debf0b48c4dafd238d82d7..8f467132166fcde915f1523dcf1db510fdc23302 100755 (executable)
--- 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;
         }
     }