Bug 120543 - Software error when entering a bug when not logged in & only

one product.
r=caillon,jake
This commit is contained in:
bbaetz%student.usyd.edu.au 2002-01-22 22:23:21 +00:00
Родитель a9e69202d2
Коммит a4b81441a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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|;