diff options
author | mkanat%kerio.com <> | 2006-03-03 07:50:13 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-03 07:50:13 +0000 |
commit | 6c16eddbad9bcef7d7b2d51dc274451a152524fe (patch) | |
tree | 7a153e2f238420fc777d5f7d13cad910f5f54742 /enter_bug.cgi | |
parent | 975b2688b862a89f302a77b9a42c8f794fed13a8 (diff) | |
download | bugs-6c16eddbad9bcef7d7b2d51dc274451a152524fe.tar bugs-6c16eddbad9bcef7d7b2d51dc274451a152524fe.tar.gz bugs-6c16eddbad9bcef7d7b2d51dc274451a152524fe.tar.bz2 bugs-6c16eddbad9bcef7d7b2d51dc274451a152524fe.tar.xz bugs-6c16eddbad9bcef7d7b2d51dc274451a152524fe.zip |
Bug 328602: Eliminate %::versions and @::legal_versions
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index c5680fff6..3e87bf405 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -52,7 +52,6 @@ use vars qw( @legal_priority @legal_severity @legal_keywords - %versions %target_milestone ); @@ -467,7 +466,7 @@ else { # # Eventually maybe each product should have a "current version" # parameter. -$vars->{'version'} = $::versions{$product} || []; +$vars->{'version'} = [map($_->name, @{$prod_obj->versions})]; if ( ($cloned_bug_id) && ("$product" eq "$cloned_bug->{'product'}" ) ) { |