]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1177267: When adding a new keyword, it should be active by default. Currently...
authorDavid Lawrence <dkl@mozilla.com>
Sun, 28 Jun 2015 17:59:13 +0000 (17:59 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Sun, 28 Jun 2015 17:59:13 +0000 (17:59 +0000)
r=dylan,a=dkl

editkeywords.cgi

index 06e28b79a820301c1683ef69bc2dad668c4efacc..ab079e5405845bc20988a5c5820d6d94352c6520 100755 (executable)
@@ -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);