Commit b64f45e6 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 409682: Whine should not add headers for queries with 0 bugs - Patch by…

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
parent 796ff262
......@@ -469,7 +469,7 @@ sub run_queries {
push @{$thisquery->{'bugs'}}, $bug;
}
}
unless ($thisquery->{'onemailperbug'}) {
if (!$thisquery->{'onemailperbug'} && @{$thisquery->{'bugs'}}) {
push @{$return_queries}, $thisquery;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment