diff options
author | Dylan William Hardison <dylan@mozilla.com> | 2015-05-19 05:48:57 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-19 05:48:57 +0200 |
commit | 64fd94e3c85af86131f34694a188aca380462f99 (patch) | |
tree | a97a8168b2bef327e9d0a005b0d5493d159d7ac5 /Bugzilla/WebService | |
parent | 1e23e69630c37096d05e9a3ef31e824e912987d3 (diff) | |
download | bugzilla-64fd94e3c85af86131f34694a188aca380462f99.tar.gz bugzilla-64fd94e3c85af86131f34694a188aca380462f99.tar.xz |
Bug 1160430: Backport bug 69267 to BMO (Add the ability to deactivate keywords)
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 2edd2f3d0..0956ddd8d 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -275,6 +275,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), |