diff options
author | Dylan William Hardison <dylan@mozilla.com> | 2015-05-01 06:03:57 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2015-05-01 06:03:57 +0200 |
commit | c3c2eccd987259a577108fd05f57dc809950b0e6 (patch) | |
tree | 44cbe5438ce68ae36d8f36c205e2e523dd3dd5db /Bugzilla/WebService | |
parent | 0e68998f22b847d90753daac3808bedc4500cde6 (diff) | |
download | bugzilla-c3c2eccd987259a577108fd05f57dc809950b0e6.tar.gz bugzilla-c3c2eccd987259a577108fd05f57dc809950b0e6.tar.xz |
Bug 69267: Add the ability to deactivate keywords
r/a=glob
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index fd01afb1b..f034d90d5 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -245,6 +245,7 @@ sub _legal_field_values { elsif ($field_name eq 'keywords') { my @legal_keywords = Bugzilla::Keyword->get_all; foreach my $value (@legal_keywords) { + next unless $value->is_active; push (@result, { name => $self->type('string', $value->name), description => $self->type('string', $value->description), |