diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Flag.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d105dd005..042f9c801 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2665,7 +2665,7 @@ sub set_estimated_time { $_[0]->set('estimated_time', $_[1]); } sub _set_everconfirmed { $_[0]->set('everconfirmed', $_[1]); } sub set_flags { my ($self, $flags, $new_flags) = @_; - + Bugzilla::Hook::process('bug_set_flags', { bug => $self, flags => $flags, new_flags => $new_flags }); Bugzilla::Flag->set_flag($self, $_) foreach (@$flags, @$new_flags); } sub set_op_sys { $_[0]->set('op_sys', $_[1]); } diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 830c60a57..07041bd79 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -1014,6 +1014,7 @@ sub notify { } my $cc_list = $flag ? $flag->type->cc_list : $old_flag->type->cc_list; + $cc_list //= ''; # Is there someone to notify? return unless ($addressee || $cc_list); |