aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/editmilestones.cgi b/editmilestones.cgi
index 3e484bbfc..3ca7ea998 100755
--- a/editmilestones.cgi
+++ b/editmilestones.cgi
@@ -80,12 +80,9 @@ my $product = Bugzilla::Product::check_product($product_name);
unless ($action) {
- my @milestones =
- Bugzilla::Milestone::get_milestones_by_product($product->id);
-
$vars->{'showbugcounts'} = $showbugcounts;
$vars->{'product'} = $product->name;
- $vars->{'milestones'} = \@milestones;
+ $vars->{'milestones'} = $product->milestones;
$vars->{'default_milestone'} = $product->default_milestone;
$template->process("admin/milestones/list.html.tmpl",
$vars)