From: bugreport%peshkin.net <> Date: Thu, 31 Oct 2002 10:44:05 +0000 (+0000) Subject: Bug 175838 Reopening a bug does not clear resolution, nor does selecting 'clear resol... X-Git-Tag: bugzilla-2.17.1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0139c8c929e809d64f7ea5da517bf8bdc273fd1;p=thirdparty%2Fbugzilla.git Bug 175838 Reopening a bug does not clear resolution, nor does selecting 'clear resolution' patch by jeff.hedlund@matrixsi.com 2xr=gerv --- diff --git a/process_bug.cgi b/process_bug.cgi index 47f038e524..bf0edc09c2 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); }