summaryrefslogtreecommitdiffstats
path: root/doaddcomponent.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-06-12 02:37:43 +0200
committerterry%mozilla.org <>1999-06-12 02:37:43 +0200
commitb9d594e95be703544d023c237c030009e4d25270 (patch)
tree4a62f4fd0d419d6765cf294733f02520b61aded0 /doaddcomponent.cgi
parent126b217ebfab7070a58c8a69d24a2846402d53e2 (diff)
downloadbugzilla-b9d594e95be703544d023c237c030009e4d25270.tar.gz
bugzilla-b9d594e95be703544d023c237c030009e4d25270.tar.xz
Was choking if not using qacontact field.
Diffstat (limited to 'doaddcomponent.cgi')
-rwxr-xr-xdoaddcomponent.cgi5
1 files changed, 5 insertions, 0 deletions
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 "") {