]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 179321 - cannot clear status whiteboard entirely
authorbbaetz%student.usyd.edu.au <>
Sun, 10 Nov 2002 16:33:45 +0000 (16:33 +0000)
committerbbaetz%student.usyd.edu.au <>
Sun, 10 Nov 2002 16:33:45 +0000 (16:33 +0000)
r=joel x2
a=justdave

process_bug.cgi

index deb6ea80b98aa4c9f397ba079939d5c40bc94334..a62320fd2243a51d66eac24358bf09096df5cdd9 100755 (executable)
@@ -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}));
         }