diff options
author | mkanat%bugzilla.org <> | 2006-12-19 15:41:46 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-19 15:41:46 +0100 |
commit | bffa52bd4899458aca4456717dd11786cc585640 (patch) | |
tree | 1b48ba4454a232d3f2158f20b089421a5c5d7061 /importxml.pl | |
parent | b7c87a7217ea157c1305526e6d62c94d5ef8d36f (diff) | |
download | bugzilla-bffa52bd4899458aca4456717dd11786cc585640.tar.gz bugzilla-bffa52bd4899458aca4456717dd11786cc585640.tar.xz |
Bug 339385: Make Bugzilla::Version use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'importxml.pl')
-rwxr-xr-x | importxml.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/importxml.pl b/importxml.pl index 989eb31e0..5b14fc655 100755 --- a/importxml.pl +++ b/importxml.pl @@ -671,8 +671,8 @@ sub process_bug { # Since there is no default version for a product, we check that the one # coming over is valid. If not we will use the first one in @versions # and warn them. - my $version = - new Bugzilla::Version( $product->id, $bug_fields{'version'} ); + my $version = new Bugzilla::Version( + { product => $product, name => $bug_fields{'version'} }); push( @query, "version" ); if ($version) { |