Bug 125066 - remove the need to set a milestone on accept for products with just one milestone. Patch by zeroj; r=justdave, gerv.
git-svn-id: svn://10.0.0.236/trunk@119732 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user