Commit d52f5469 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 240093 - get canconfirm working again. Patch by gerv; r=joel, a=justdave.

parent 301eb1de
...@@ -403,12 +403,14 @@ sub CheckCanChangeField { ...@@ -403,12 +403,14 @@ sub CheckCanChangeField {
} }
# Allow anyone with "canconfirm" to confirm bugs. # Allow anyone with "canconfirm" to confirm bugs.
if (($field eq "bug_status") && if ($UserInCanConfirmGroupSet) {
($oldvalue eq $::unconfirmedstate) && if (($field eq "canconfirm") ||
IsOpenedState($newvalue) && (($field eq "bug_status") &&
$UserInCanConfirmGroupSet) ($oldvalue eq $::unconfirmedstate) &&
{ IsOpenedState($newvalue)))
return 1; {
return 1;
}
} }
# START DO_NOT_CHANGE # START DO_NOT_CHANGE
......
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