diff options
-rw-r--r-- | extensions/Needinfo/Extension.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index 8926618b7..f3f32439e 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -172,6 +172,10 @@ sub bug_start_of_update { if ($requestee ne 'anyone') { _check_requestee($requestee); $needinfo_flag->{requestee} = $requestee; + my $requestee_obj = Bugzilla::User->check($requestee); + if (!$requestee_obj->can_see_bug($bug->id)) { + $bug->add_cc($requestee_obj); + } } push(@new_flags, $needinfo_flag); } |