summaryrefslogtreecommitdiffstats
path: root/editversions.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-xeditversions.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/editversions.cgi b/editversions.cgi
index d29e4d850..bc7420b19 100755
--- a/editversions.cgi
+++ b/editversions.cgi
@@ -88,12 +88,9 @@ my $product = Bugzilla::Product::check_product($product_name);
#
unless ($action) {
- my @versions =
- Bugzilla::Version::get_versions_by_product($product->id);
-
$vars->{'showbugcounts'} = $showbugcounts;
$vars->{'product'} = $product->name;
- $vars->{'versions'} = \@versions;
+ $vars->{'versions'} = $product->versions;
$template->process("admin/versions/list.html.tmpl",
$vars)
|| ThrowTemplateError($template->error());