From 73a2b84f97557995f90ee0617e9e1248c5a60a4e Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 18 Jan 2000 06:31:05 +0000 Subject: Was sometimes checking extra checkboxes in the email area. --- query.cgi | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 5584ee2b3..092c5b306 100755 --- a/query.cgi +++ b/query.cgi @@ -139,18 +139,10 @@ sub GenerateEmailInput { my $reporter = ($default{"emailreporter$id"} eq "1") ? "checked" : ""; my $cc = ($default{"emailcc$id"} eq "1") ? "checked" : ""; - if ($assignedto eq "" && $reporter eq "" && $cc eq "") { - if ($id eq "1") { - $assignedto = "checked"; - } else { - $reporter = "checked"; - } - } - my $qapart = ""; + my $qacontact = ""; if (Param("useqacontact")) { - my $qacontact = - ($default{"emailqa_contact$id"} eq "1") ? "checked" : ""; + $qacontact = ($default{"emailqa_contact$id"} eq "1") ? "checked" : ""; $qapart = qq| @@ -160,6 +152,15 @@ sub GenerateEmailInput { |; } + if ($assignedto eq "" && $reporter eq "" && $cc eq "" && + $qacontact eq "") { + if ($id eq "1") { + $assignedto = "checked"; + } else { + $reporter = "checked"; + } + } + return qq| -- cgit v1.2.3-24-g4f1b