diff options
author | gerv%gerv.net <> | 2002-04-25 05:07:57 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-25 05:07:57 +0200 |
commit | 07e523a842a471543df1420dbb479063b4fba372 (patch) | |
tree | 408f31ab863bee0d481f565b9676d8ef4c6a206c | |
parent | e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a (diff) | |
download | bugzilla-07e523a842a471543df1420dbb479063b4fba372.tar.gz bugzilla-07e523a842a471543df1420dbb479063b4fba372.tar.xz |
Bug 125066 - remove the need to set a milestone on accept for products with just one milestone. Patch by zeroj; r=justdave, gerv.
-rwxr-xr-x | process_bug.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 35c24e24e..450b839f1 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -568,7 +568,8 @@ SWITCH: for ($::FORM{'knob'}) { /^accept$/ && CheckonComment( "accept" ) && do { DoConfirm(); ChangeStatus('ASSIGNED'); - if (Param("musthavemilestoneonaccept")) { + if (Param("musthavemilestoneonaccept") && + scalar(@{$::target_milestone{$::FORM{'product'}}}) > 1) { if (Param("usetargetmilestone")) { $requiremilestone = 1; } |