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) --- extensions/BugModal/lib/WebService.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') diff --git a/extensions/BugModal/lib/WebService.pm b/extensions/BugModal/lib/WebService.pm index 5a1ec15c0..2461cf2fa 100644 --- a/extensions/BugModal/lib/WebService.pm +++ b/extensions/BugModal/lib/WebService.pm @@ -99,7 +99,7 @@ sub edit { } # keywords - my @keywords = Bugzilla::Keyword->get_all(); + my @keywords = grep { $_->is_active } Bugzilla::Keyword->get_all(); # results return { -- cgit v1.2.3-24-g4f1b