summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}