summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index deb6ea80b..a62320fd2 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -617,7 +617,8 @@ foreach my $field ("rep_platform", "priority", "bug_severity",
"version", "op_sys",
"target_milestone", "status_whiteboard") {
if (defined $::FORM{$field}) {
- if ($::FORM{$field} ne $::FORM{'dontchange'}) {
+ if (!$::FORM{'dontchange'}
+ || $::FORM{$field} ne $::FORM{'dontchange'}) {
DoComma();
$::query .= "$field = " . SqlQuote(trim($::FORM{$field}));
}