aboutsummaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorghendricks%novell.com <>2009-05-20 23:09:55 +0000
committerghendricks%novell.com <>2009-05-20 23:09:55 +0000
commite39a1db4115cfd721fa65c746e7699e79cda87ae (patch)
treed993a0a28a9d277d37ac5f0173810e3d48f93d7e /editproducts.cgi
parente82fe9ae884fa439494a4755cfcc218481ae094d (diff)
downloadbugs-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar
bugs-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar.gz
bugs-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar.bz2
bugs-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar.xz
bugs-e39a1db4115cfd721fa65c746e7699e79cda87ae.zip
Bug 493090 - Product disallownew should be converted to isactive
patch by ghendricks r=mkanat a=mkanat
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index 8dd42d741..3bbabad64 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -173,7 +173,7 @@ if ($action eq 'new') {
version => scalar $cgi->param('version'),
defaultmilestone => scalar $cgi->param('defaultmilestone'),
milestoneurl => scalar $cgi->param('milestoneurl'),
- disallownew => scalar $cgi->param('disallownew'),
+ isactive => scalar $cgi->param('isactive'),
votesperuser => scalar $cgi->param('votesperuser'),
maxvotesperbug => scalar $cgi->param('maxvotesperbug'),
votestoconfirm => scalar $cgi->param('votestoconfirm'),
@@ -285,7 +285,7 @@ if ($action eq 'update') {
$product->set_description(scalar $cgi->param('description'));
$product->set_default_milestone(scalar $cgi->param('defaultmilestone'));
$product->set_milestone_url(scalar $cgi->param('milestoneurl'));
- $product->set_disallow_new(scalar $cgi->param('disallownew'));
+ $product->set_is_active(scalar $cgi->param('is_active'));
$product->set_votes_per_user(scalar $cgi->param('votesperuser'));
$product->set_votes_per_bug(scalar $cgi->param('maxvotesperbug'));
$product->set_votes_to_confirm(scalar $cgi->param('votestoconfirm'));