Bug 55712

Automatically add flag requestees to CC


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@488 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-10-22 10:14:11 +00:00
parent 1c6a49019f
commit 9229659100
1 changed files with 5 additions and 0 deletions

View File

@ -490,6 +490,11 @@ if (defined $cgi->param('newcc')
push(@cc_remove, split(/[\s,]+/, $cc_remove)) if $cc_remove;
}
for ($cgi->param)
{
push @cc_add, trim($cgi->param($_)) if /^requestee-(\d+)$/so;
}
foreach my $b (@bug_objects) {
$b->remove_cc($_) foreach @cc_remove;
$b->add_cc($_) foreach @cc_add;