]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 382037: Default CC is ignored when creating a bug via the webservice
authormkanat%bugzilla.org <>
Sat, 26 May 2007 04:47:24 +0000 (04:47 +0000)
committermkanat%bugzilla.org <>
Sat, 26 May 2007 04:47:24 +0000 (04:47 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Bug.pm

index 8591a2f89029325967233724f4cdaf7ebd4b2520..ba96cb85e09df1e882d709f6fd2d8424894850d7 100755 (executable)
@@ -537,7 +537,7 @@ sub _check_bug_status {
 
 sub _check_cc {
     my ($invocant, $component, $ccs) = @_;
-    return [] unless $ccs;
+    return [map {$_->id} @{$component->initial_cc}] unless $ccs;
 
     my %cc_ids;
     foreach my $person (@$ccs) {