diff options
author | bugreport%peshkin.net <> | 2002-10-31 11:44:05 +0100 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-10-31 11:44:05 +0100 |
commit | f0139c8c929e809d64f7ea5da517bf8bdc273fd1 (patch) | |
tree | f23feeb5fe8b13a0ee33a0bddd25b270b767b277 /process_bug.cgi | |
parent | 1b19ddfe4ec7d26c696a9dca15c90a6187a564fd (diff) | |
download | bugzilla-f0139c8c929e809d64f7ea5da517bf8bdc273fd1.tar.gz bugzilla-f0139c8c929e809d64f7ea5da517bf8bdc273fd1.tar.xz |
Bug 175838 Reopening a bug does not clear resolution, nor does selecting 'clear resolution'
patch by jeff.hedlund@matrixsi.com
2xr=gerv
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 47f038e52..bf0edc09c 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -519,7 +519,8 @@ sub DoConfirm { sub ChangeStatus { my ($str) = (@_); - if ($str ne $::FORM{'dontchange'}) { + if (!$::FORM{'dontchange'} || + ($str ne $::FORM{'dontchange'})) { DoComma(); if ($::FORM{knob} eq 'reopen') { # When reopening, we need to check whether the bug was ever @@ -571,7 +572,8 @@ sub ChangeStatus { sub ChangeResolution { my ($str) = (@_); - if ($str ne $::FORM{'dontchange'}) { + if (!$::FORM{'dontchange'} || + ($str ne $::FORM{'dontchange'})) { DoComma(); $::query .= "resolution = " . SqlQuote($str); } |