From 64fd94e3c85af86131f34694a188aca380462f99 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 19 May 2015 11:48:57 +0800 Subject: Bug 1160430: Backport bug 69267 to BMO (Add the ability to deactivate keywords) --- Bugzilla/WebService/Bug.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/WebService/Bug.pm') 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), -- cgit v1.2.3-24-g4f1b