diff options
author | 2006-12-19 18:35:42 +0000 | |
---|---|---|
committer | 2006-12-19 18:35:42 +0000 | |
commit | 3f1a0a8168493175b6c44e18edc25bd655f8c8b2 (patch) | |
tree | c8e93afaaab1355f95dac4dae1923c89875943b1 /importxml.pl | |
parent | Back out a change which is not part of the patch I reviewed and which breaks ... (diff) | |
download | bugzilla-3f1a0a8168493175b6c44e18edc25bd655f8c8b2.tar.gz bugzilla-3f1a0a8168493175b6c44e18edc25bd655f8c8b2.tar.bz2 bugzilla-3f1a0a8168493175b6c44e18edc25bd655f8c8b2.zip |
Bug 339384: Make Bugzilla::Milestone use Bugzilla::Object - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
Diffstat (limited to 'importxml.pl')
-rwxr-xr-x | importxml.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/importxml.pl b/importxml.pl index 5b14fc655..8f93ab46c 100755 --- a/importxml.pl +++ b/importxml.pl @@ -692,9 +692,8 @@ sub process_bug { # Milestone if ( $params->{"usetargetmilestone"} ) { - my $milestone = - new Bugzilla::Milestone( $product->id, - $bug_fields{'target_milestone'} ); + my $milestone = new Bugzilla::Milestone( + { product => $product, name => $bug_fields{'target_milestone'} }); if ($milestone) { push( @values, $milestone->name ); } |