Commit ae8dad14 authored by dave%intrec.com's avatar dave%intrec.com

Fix for bug 49306: Resolution field getting cleared on midair-collision.

parent 830a47d2
......@@ -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).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment