From: dave%intrec.com <> Date: Thu, 22 Feb 2001 06:13:34 +0000 (+0000) Subject: Fix for bug 49306: Resolution field getting cleared on midair-collision. X-Git-Tag: bugzilla-2.12~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8dad14c90a3add572a583717d08a9eb926d2eb;p=thirdparty%2Fbugzilla.git Fix for bug 49306: Resolution field getting cleared on midair-collision. --- diff --git a/process_bug.cgi b/process_bug.cgi index fbcac44a8c..ba4b2335ba 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -158,6 +158,9 @@ sub CheckCanChangeField { if ($f =~ /^longdesc/) { return 1; } + if ($f = "resolution") { # always OK this. if they really can't, + return 1; # it'll flag it when "status" is checked. + } if ($UserInEditGroupSet < 0) { $UserInEditGroupSet = UserInGroup("editbugs"); } @@ -663,12 +666,6 @@ sub LogDependencyActivity { return 0; } -delete $::FORM{'resolution'}; # Make sure we don't test the resolution - # against our permissions; we've already done - # that kind of testing, and this form field - # is actually usually not used. - - # this loop iterates once for each bug to be processed (eg when this script # is called with multiple bugs selected from buglist.cgi instead of # show_bug.cgi).