summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi12
1 files changed, 12 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 77496f2a3..fcd6408d3 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -855,6 +855,18 @@ foreach my $field ("rep_platform", "priority", "bug_severity",
}
}
+# Add custom fields data to the query that will update the database.
+foreach my $field (Bugzilla->custom_field_names) {
+ if (defined $cgi->param($field)
+ && (!$cgi->param('dontchange')
+ || $cgi->param($field) ne $cgi->param('dontchange')))
+ {
+ DoComma();
+ $::query .= "$field = " . SqlQuote(trim($cgi->param($field)));
+ }
+}
+
+
my $prod_id;
my $prod_changed;
my @newprod_ids;