diff options
author | jocuri%softhome.net <> | 2003-11-01 04:06:59 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2003-11-01 04:06:59 +0100 |
commit | aba0ad551fab3f31935efa77073b8e6a9c6212de (patch) | |
tree | d202d02db8efb02cac86051b0207dbdb012d0c74 | |
parent | 4d5799ba61bd0d5be1a7148c8b2fff6db1871a01 (diff) | |
download | bugzilla-aba0ad551fab3f31935efa77073b8e6a9c6212de.tar.gz bugzilla-aba0ad551fab3f31935efa77073b8e6a9c6212de.tar.xz |
Fix for bug 190611: Query page crashes if any product has no versions defined; r=kiko; a=justdave.
-rwxr-xr-x | query.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -250,6 +250,11 @@ foreach my $m (@::legal_target_milestone) { for (my $i = 0; $i < @products; ++$i) { my $p = $products[$i]; + # Bug 190611: band-aid to avoid crashing with no versions defined + if (!defined ($::components{$p})) { + $::components{$p} = []; + } + # Create hash to hold attributes for each product. my %product = ( 'name' => $p, |