diff options
author | David Lawrence <dlawrence@mozilla.com> | 2011-09-02 21:50:06 +0200 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2011-09-02 21:50:06 +0200 |
commit | d3144ccde7c1d3c432baaf43fe0b79a6c30eb7b0 (patch) | |
tree | 8f7fac4d4b98c80a090e74934a754443c127d846 /query.cgi | |
parent | 9344a458c830ba066b9004c301d0fc6cabc8f229 (diff) | |
parent | bf9156ad5f0a57a467dd46292efb2f0a47ec845e (diff) | |
download | bugzilla-d3144ccde7c1d3c432baaf43fe0b79a6c30eb7b0.tar.gz bugzilla-d3144ccde7c1d3c432baaf43fe0b79a6c30eb7b0.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -139,6 +139,9 @@ my %components; my %versions; my %milestones; +# Exclude products with no components. +@selectable_products = grep { scalar @{$_->components} } @selectable_products; + foreach my $product (@selectable_products) { $components{$_->name} = 1 foreach (@{$product->components}); $versions{$_->name} = 1 foreach (@{$product->versions}); |