diff options
author | justdave%syndicomm.com <> | 2001-05-30 05:30:51 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-05-30 05:30:51 +0200 |
commit | 83c52d395f0be87362b9fd2994edacdb86f9b569 (patch) | |
tree | 6f0374aa894eca484c751502d8c77a81ffc3477b /query.cgi | |
parent | c0b95464dcd2984915464953321da0eaa15dafad (diff) | |
download | bugzilla-83c52d395f0be87362b9fd2994edacdb86f9b569.tar.gz bugzilla-83c52d395f0be87362b9fd2994edacdb86f9b569.tar.xz |
Fix for bug 65399: Can't use string ("") as an ARRAY ref while "strict refs" in use at query.cgi due to no components defined in a product.
Patch by Matthias Radestock <matthias@sorted.org>
r= justdave@syndicomm.com
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -292,8 +292,10 @@ foreach my $p (@::legal_product) { next; } push @::product_list, $p; - foreach my $c (@{$::components{$p}}) { - $component_set{$c} = 1; + if ($::components{$p}) { + foreach my $c (@{$::components{$p}}) { + $component_set{$c} = 1; + } } foreach my $v (@{$::versions{$p}}) { $version_set{$v} = 1; |