diff options
author | bbaetz%student.usyd.edu.au <> | 2002-01-23 07:23:21 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-01-23 07:23:21 +0100 |
commit | 8603948d4f06aafef40112d011d8a3f779455a7b (patch) | |
tree | ae0076729d3ca4649b058e01a56c8122c3f034fb | |
parent | 4c07cc48093b6233be5298606f87b82a64f54768 (diff) | |
download | bugzilla-8603948d4f06aafef40112d011d8a3f779455a7b.tar.gz bugzilla-8603948d4f06aafef40112d011d8a3f779455a7b.tar.xz |
Bug 120543 - Software error when entering a bug when not logged in & only
one product.
r=caillon,jake
-rw-r--r-- | CGI.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1037,7 +1037,7 @@ Content-type: text/html # (except for Bugzilla_login and Bugzilla_password which we # already added as text fields above). foreach my $i ( grep( $_ !~ /^Bugzilla_/ , keys %::FORM ) ) { - if (scalar(@{$::MFORM{$i}}) > 1) { + if (defined $::MFORM{$i} && scalar(@{$::MFORM{$i}}) > 1) { # This field has multiple values; add each one separately. foreach my $val (@{$::MFORM{$i}}) { print qq|<input type="hidden" name="$i" value="@{[value_quote($val)]}">\n|; |