]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 49306: Resolution field getting cleared on midair-collision.
authordave%intrec.com <>
Thu, 22 Feb 2001 06:13:34 +0000 (06:13 +0000)
committerdave%intrec.com <>
Thu, 22 Feb 2001 06:13:34 +0000 (06:13 +0000)
process_bug.cgi

index fbcac44a8c922235a7de83780151140321bf8233..ba4b2335ba37da8c88bc0527accbb2cd0477d5dc 100755 (executable)
@@ -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).