From c364f865c1d3d6cdf42aed51f5d6c1b3417a580e Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Fri, 28 Sep 2001 06:49:07 +0000 Subject: Fix for bug #53612: The milestone URL appears correctly when deleting a product or a component. Patch by Jake . r=gerv@mozilla.org,myk@mozilla.org --- editcomponents.cgi | 6 +++--- editproducts.cgi | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/editcomponents.cgi b/editcomponents.cgi index 30f9dd4ea..f48612d75 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -487,9 +487,9 @@ if ($action eq 'del') { my $initialowner = $initialownerid ? DBID_to_name ($initialownerid) : "missing"; my $initialqacontact = $initialqacontactid ? DBID_to_name ($initialqacontactid) : "missing"; - + my $milestonelink = $milestoneurl ? "$milestoneurl" + : "missing"; $pdesc ||= "missing"; - $milestoneurl ||= "missing"; $disallownew = $disallownew ? 'closed' : 'open'; $cdesc ||= "missing"; @@ -530,7 +530,7 @@ if ($action eq 'del') { if (Param('usetargetmilestone')) { print "\n"; print " Milestone URL:\n"; - print " $milestoneurl\n"; + print " $milestonelink\n"; } print "\n"; diff --git a/editproducts.cgi b/editproducts.cgi index 73fdbf487..f7d479f1d 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -418,6 +418,8 @@ if ($action eq 'del') { FROM products WHERE product=" . SqlQuote($product)); my ($description, $milestoneurl, $disallownew) = FetchSQLData(); + my $milestonelink = $milestoneurl ? "$milestoneurl" + : "missing"; $description ||= "description missing"; $disallownew = $disallownew ? 'closed' : 'open'; @@ -437,7 +439,7 @@ if ($action eq 'del') { if (Param('usetargetmilestone')) { print "\n"; print " Milestone URL:\n"; - print " $milestoneurl\n"; + print " $milestonelink\n"; } # Added -JMR, 2/16/00 -- cgit v1.2.3-24-g4f1b