From 568c989ad58907fc525578555f4a20eadb3644d0 Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Mon, 21 Jun 2010 19:38:34 -0700 Subject: Bug 571003: After changing the name of the default milestone using editmilestones.cgi, the "Delete" link would show up in the list of milestones when it should not have. r=mkanat, a=mkanat --- editmilestones.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editmilestones.cgi') diff --git a/editmilestones.cgi b/editmilestones.cgi index ce622705e..ff5076bee 100755 --- a/editmilestones.cgi +++ b/editmilestones.cgi @@ -206,6 +206,9 @@ if ($action eq 'update') { $milestone->set_name($milestone_name); $milestone->set_sortkey($sortkey); my $changes = $milestone->update(); + # Reloading the product since the default milestone name + # could have been changed. + $product = new Bugzilla::Product({ name => $product_name }); delete_token($token); -- cgit v1.2.3-24-g4f1b