From b9d594e95be703544d023c237c030009e4d25270 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 12 Jun 1999 00:37:43 +0000 Subject: Was choking if not using qacontact field. --- doaddcomponent.cgi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doaddcomponent.cgi') diff --git a/doaddcomponent.cgi b/doaddcomponent.cgi index c7856fff1..f6a967596 100755 --- a/doaddcomponent.cgi +++ b/doaddcomponent.cgi @@ -53,6 +53,11 @@ my $component = trim($::FORM{"component"}); my $product = trim($::FORM{"product"}); my $description = trim($::FORM{"description"}); my $initialowner = trim($::FORM{"initialowner"}); + +if (!defined $::FORM{"initialqacontact"}) { + # May not be defined if we're not using this field. + $::FORM{'initialqacontact'} = ""; +} my $initialqacontact = trim($::FORM{"initialqacontact"}); if ($component eq "") { -- cgit v1.2.3-24-g4f1b