diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 16:20:05 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 16:20:05 +0200 |
commit | 80130158d4f4baa47cf1212cf28da1dc84b9d096 (patch) | |
tree | ddedf8e9ae4058e63d08ceb7cbace75a57bd0834 /Bugzilla/Product.pm | |
parent | 8bc37c2d851e06b036c8f895582fedd7051b3592 (diff) | |
download | bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.gz bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.xz |
Bug 556731 - Make Bugzilla::Milestone, Bugzilla::Version, and
Bugzilla::Component use VALIDATOR_DEPENDENCIES instead of UPDATE_VALIDATORS
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Product.pm')
-rw-r--r-- | Bugzilla/Product.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 9416d3eef..4426dda38 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -101,8 +101,8 @@ sub create { Bugzilla->user->clear_product_cache(); # Add the new version and milestone into the DB as valid values. - Bugzilla::Version->create({name => $version, product => $product}); - Bugzilla::Milestone->create({ name => $product->default_milestone, + Bugzilla::Version->create({ value => $version, product => $product }); + Bugzilla::Milestone->create({ value => $product->default_milestone, product => $product }); # Create groups and series for the new product, if requested. |