summaryrefslogtreecommitdiffstats
path: root/editkeywords.cgi
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-28 19:59:13 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-28 19:59:13 +0200
commitd30c8993f9b237dcef76210575add8ff2f815d81 (patch)
tree09b03f39dd2e7d309369d1b054562c73e8ae2ef0 /editkeywords.cgi
parent9481baff18e93f5585e4c6fcaddd6d9e298173be (diff)
downloadbugzilla-d30c8993f9b237dcef76210575add8ff2f815d81.tar.gz
bugzilla-d30c8993f9b237dcef76210575add8ff2f815d81.tar.xz
Bug 1177267: When adding a new keyword, it should be active by default. Currently a new keyword is disabled.
r=dylan,a=dkl
Diffstat (limited to 'editkeywords.cgi')
-rwxr-xr-xeditkeywords.cgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/editkeywords.cgi b/editkeywords.cgi
index 06e28b79a..ab079e540 100755
--- a/editkeywords.cgi
+++ b/editkeywords.cgi
@@ -71,12 +71,11 @@ if ($action eq 'add') {
#
if ($action eq 'new') {
check_token_data($token, 'add_keyword');
- my $name = $cgi->param('name') || '';
- my $is_active = $cgi->param('is_active');
- my $desc = $cgi->param('description') || '';
+ my $name = $cgi->param('name') || '';
+ my $desc = $cgi->param('description') || '';
my $keyword = Bugzilla::Keyword->create(
- { name => $name, is_active => $is_active, description => $desc });
+ { name => $name, description => $desc });
delete_token($token);