summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/User.pm1
1 files changed, 1 insertions, 0 deletions
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 };
}