diff options
author | gerv%gerv.net <> | 2004-07-17 23:09:28 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2004-07-17 23:09:28 +0000 |
commit | d52f5469628c44ab012696bb0a9527a40cd69884 (patch) | |
tree | a527e637934d071c9190cca9670d6be221f1c3f0 /process_bug.cgi | |
parent | 301eb1deabcbab02c7f6673635d1835912e7bd94 (diff) | |
download | bugs-d52f5469628c44ab012696bb0a9527a40cd69884.tar bugs-d52f5469628c44ab012696bb0a9527a40cd69884.tar.gz bugs-d52f5469628c44ab012696bb0a9527a40cd69884.tar.bz2 bugs-d52f5469628c44ab012696bb0a9527a40cd69884.tar.xz bugs-d52f5469628c44ab012696bb0a9527a40cd69884.zip |
Bug 240093 - get canconfirm working again. Patch by gerv; r=joel, a=justdave.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 7a6e2bbc5..b69b3da27 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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 |