summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordave%intrec.com <>2001-02-22 07:13:34 +0100
committerdave%intrec.com <>2001-02-22 07:13:34 +0100
commitae8dad14c90a3add572a583717d08a9eb926d2eb (patch)
tree33e59c38ed64e2c88b59cf8b1d6ea2689a0605f9
parent830a47d28b061a45cd92015024fcd1ddc28c9786 (diff)
downloadbugzilla-ae8dad14c90a3add572a583717d08a9eb926d2eb.tar.gz
bugzilla-ae8dad14c90a3add572a583717d08a9eb926d2eb.tar.xz
Fix for bug 49306: Resolution field getting cleared on midair-collision.
-rwxr-xr-xprocess_bug.cgi9
1 files 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).