summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-06-03 11:08:52 +0200
committerByron Jones <glob@mozilla.com>2014-06-03 11:08:52 +0200
commit7cdfaf113c9207bf46a516f6dbe6c333fea4d2cc (patch)
tree5fbf95458635af18b0833b25413c5f3435ae80f5 /Bugzilla
parent1154c57d829b889b98f2e32030c8e807bf9bc38a (diff)
downloadbugzilla-7cdfaf113c9207bf46a516f6dbe6c333fea4d2cc.tar.gz
bugzilla-7cdfaf113c9207bf46a516f6dbe6c333fea4d2cc.tar.xz
fix breakage caused by bug 1000917
Diffstat (limited to 'Bugzilla')
-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 };
}