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 {
}
# Allow anyone with "canconfirm" to confirm bugs.
if (($field eq "bug_status") &&
($oldvalue eq $::unconfirmedstate) &&
IsOpenedState($newvalue) &&
$UserInCanConfirmGroupSet)
{
return 1;
if ($UserInCanConfirmGroupSet) {
if (($field eq "canconfirm") ||
(($field eq "bug_status") &&
($oldvalue eq $::unconfirmedstate) &&
IsOpenedState($newvalue)))
{
return 1;
}
}
# 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