Commit 568c989a authored by Tiago Mello's avatar Tiago Mello Committed by Max Kanat-Alexander

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
parent 059dd26f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment