Bug 422465: Cloning a bug should cc the original reporter if the cloner isn't the reporter - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat

git-svn-id: svn://10.0.0.236/trunk@255697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2009-01-02 13:26:51 +00:00
parent 23f3572868
commit e01d69d859

View File

@ -22,6 +22,7 @@
# Joe Robins <jmrobins@tgix.com>
# Gervase Markham <gerv@gerv.net>
# Shane H. W. Travis <travis@sedsystems.ca>
# Nitish Bezzala <nbezzala@yahoo.com>
##############################################################################
#
@ -404,10 +405,14 @@ if ($cloned_bug_id) {
$vars->{'deadline'} = $cloned_bug->deadline;
if (defined $cloned_bug->cc) {
$vars->{'cc'} = join (" ", @{$cloned_bug->cc});
$vars->{'cc'} = join (", ", @{$cloned_bug->cc});
} else {
$vars->{'cc'} = formvalue('cc');
}
if ($cloned_bug->reporter->id != $user->id) {
$vars->{'cc'} = join (", ", $cloned_bug->reporter->login, $vars->{'cc'});
}
foreach my $field (@enter_bug_fields) {
my $field_name = $field->name;