summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-25 05:07:57 +0200
committergerv%gerv.net <>2002-04-25 05:07:57 +0200
commit07e523a842a471543df1420dbb479063b4fba372 (patch)
tree408f31ab863bee0d481f565b9676d8ef4c6a206c
parente0abf5a6e9bc24ddda2b38d260859192a6bbbc3a (diff)
downloadbugzilla-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-xprocess_bug.cgi3
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;
}