summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi3
1 files changed, 3 insertions, 0 deletions
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);