diff options
author | Tiago Mello <timello@linux.vnet.ibm.com> | 2010-06-21 19:38:34 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-21 19:38:34 -0700 |
commit | 568c989ad58907fc525578555f4a20eadb3644d0 (patch) | |
tree | f0f386807773e26ef5c44f7f7730fdf6dd643918 /editmilestones.cgi | |
parent | Bug 570987: Fix the warning 'Argument "" isn't numeric in numeric gt (diff) | |
download | bugzilla-568c989ad58907fc525578555f4a20eadb3644d0.tar.gz bugzilla-568c989ad58907fc525578555f4a20eadb3644d0.tar.bz2 bugzilla-568c989ad58907fc525578555f4a20eadb3644d0.zip |
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
Diffstat (limited to 'editmilestones.cgi')
-rwxr-xr-x | editmilestones.cgi | 3 |
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); |