From bffa52bd4899458aca4456717dd11786cc585640 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 19 Dec 2006 14:41:46 +0000 Subject: Bug 339385: Make Bugzilla::Version use Bugzilla::Object Patch By Max Kanat-Alexander r=LpSolit, a=myk --- importxml.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'importxml.pl') 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) { -- cgit v1.2.3-24-g4f1b