From 7cdfaf113c9207bf46a516f6dbe6c333fea4d2cc Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 3 Jun 2014 17:08:52 +0800 Subject: fix breakage caused by bug 1000917 --- Bugzilla/User.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index a796ee765..c1ab65dc3 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -770,6 +770,7 @@ sub is_involved_in_bug { return 1 if $user_id == $bug->qa_contact->id; } + return unless $bug->cc; return any { $user_login eq $_ } @{ $bug->cc }; } -- cgit v1.2.3-24-g4f1b