summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1999-01-28 06:17:06 +0100
committerterry%netscape.com <>1999-01-28 06:17:06 +0100
commit903f703c12a4f310658ef0abeed6cd9f9e1fc97f (patch)
tree6515cd54357f378680bc193f60e3e9d9a1ea32a7 /process_bug.cgi
parenta7ac06a61d2e7b17c62cb31c7c09a60c34d0ab68 (diff)
downloadbugzilla-903f703c12a4f310658ef0abeed6cd9f9e1fc97f.tar.gz
bugzilla-903f703c12a4f310658ef0abeed6cd9f9e1fc97f.tar.xz
Added three new fields (which appear in the UI only if params are
turned on): target_milestone, qa_contact, and status_whiteboard.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi17
1 files changed, 15 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index b602448d0..3fa61a851 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -122,16 +122,29 @@ sub ChangeResolution {
foreach my $field ("rep_platform", "priority", "bug_severity", "url",
"summary", "component", "bug_file_loc", "short_desc",
- "product", "version", "component", "op_sys") {
+ "product", "version", "component", "op_sys",
+ "target_milestone", "status_whiteboard") {
if (defined $::FORM{$field}) {
if ($::FORM{$field} ne $::dontchange) {
DoComma();
- $::query .= "$field = " . SqlQuote($::FORM{$field});
+ $::query .= "$field = " . SqlQuote(trim($::FORM{$field}));
}
}
}
+if (defined $::FORM{'qa_contact'}) {
+ my $name = trim($::FORM{'qa_contact'});
+ if ($name ne $dontchange) {
+ my $id = 0;
+ if ($name ne "") {
+ $id = DBNameToIdAndCheck($name);
+ }
+ DoComma();
+ $::query .= "qa_contact = $id";
+ }
+}
+
ConnectToDatabase();