From ae8dad14c90a3add572a583717d08a9eb926d2eb Mon Sep 17 00:00:00 2001 From: "dave%intrec.com" <> Date: Thu, 22 Feb 2001 06:13:34 +0000 Subject: Fix for bug 49306: Resolution field getting cleared on midair-collision. --- process_bug.cgi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/process_bug.cgi b/process_bug.cgi index fbcac44a8..ba4b2335b 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). -- cgit v1.2.3-24-g4f1b