diff options
author | Dave Lawrence <dkl@redhat.com> | 2010-08-31 06:20:07 +0200 |
---|---|---|
committer | Dave Lawrence <dkl@redhat.com> | 2010-08-31 06:20:07 +0200 |
commit | 77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d (patch) | |
tree | a813d550674b01ce0c6d3d63e9f4f0b619841b31 /enter_bug.cgi | |
parent | c75bcea5f0510417a1f6a14b2f88f2249b3a4109 (diff) | |
download | bugzilla-77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d.tar.gz bugzilla-77b3addad28c0f3ffc1fb4db1fcdc00527aeb48d.tar.xz |
Bug 77193 - Add the ability to retire (disable) old versions, components and milestones
r/a=mkanat
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index b1889cd03..9b5eb52c0 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -502,7 +502,7 @@ else { # # Eventually maybe each product should have a "current version" # parameter. -$vars->{'version'} = [map($_->name, @{$product->versions})]; +$vars->{'version'} = $product->versions; my $version_cookie = $cgi->cookie("VERSION-" . $product->name); @@ -521,7 +521,7 @@ if ( ($cloned_bug_id) && # Get list of milestones. if ( Bugzilla->params->{'usetargetmilestone'} ) { - $vars->{'target_milestone'} = [map($_->name, @{$product->milestones})]; + $vars->{'target_milestone'} = $product->milestones; if (formvalue('target_milestone')) { $default{'target_milestone'} = formvalue('target_milestone'); } else { |