diff options
author | ghendricks%novell.com <> | 2009-05-21 01:09:55 +0200 |
---|---|---|
committer | ghendricks%novell.com <> | 2009-05-21 01:09:55 +0200 |
commit | e39a1db4115cfd721fa65c746e7699e79cda87ae (patch) | |
tree | d993a0a28a9d277d37ac5f0173810e3d48f93d7e /editproducts.cgi | |
parent | e82fe9ae884fa439494a4755cfcc218481ae094d (diff) | |
download | bugzilla-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar.gz bugzilla-e39a1db4115cfd721fa65c746e7699e79cda87ae.tar.xz |
Bug 493090 - Product disallownew should be converted to isactive
patch by ghendricks r=mkanat a=mkanat
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 4 |
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')); |