summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-14 07:20:05 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-14 07:20:05 -0700
commit80130158d4f4baa47cf1212cf28da1dc84b9d096 (patch)
treeddedf8e9ae4058e63d08ceb7cbace75a57bd0834 /Bugzilla/Product.pm
parentBug 372537: Improve CodeErrors: show the traceback (without function (diff)
downloadbugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.gz
bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.tar.bz2
bugzilla-80130158d4f4baa47cf1212cf28da1dc84b9d096.zip
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.pm4
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.