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 --- editproducts.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editproducts.cgi') 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.1