summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install.pm')
-rw-r--r--Bugzilla/Install.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index 0a1f0e955..8365f4182 100644
--- a/Bugzilla/Install.pm
+++ b/Bugzilla/Install.pm
@@ -240,7 +240,8 @@ sub create_default_product {
my $product = new Bugzilla::Product({name => $default_prod->{name}});
# The default version.
- Bugzilla::Version::create(Bugzilla::Version::DEFAULT_VERSION, $product);
+ Bugzilla::Version->create({name => Bugzilla::Version::DEFAULT_VERSION,
+ product => $product});
# And we automatically insert the default milestone.
$dbh->do(q{INSERT INTO milestones (product_id, value, sortkey)