summaryrefslogtreecommitdiffstats
path: root/extensions/Push/lib
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/lib')
-rw-r--r--extensions/Push/lib/Connector/Spark.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Push/lib/Connector/Spark.pm b/extensions/Push/lib/Connector/Spark.pm
index af91f2985..a8b5bf056 100644
--- a/extensions/Push/lib/Connector/Spark.pm
+++ b/extensions/Push/lib/Connector/Spark.pm
@@ -62,7 +62,7 @@ sub should_send {
# Send if bug has cisco-spark keyword
my $bug = Bugzilla::Bug->new({ id => $bug_data->{id}, cache => 1 });
- return 0 if none { $_->name eq 'cisco-spark' } @{ $bug->keyword_objects };
+ return 0 unless $bug->has_keyword('cisco-spark');
if ($message->routing_key eq 'bug.create') {
return 1;