From: mkanat%bugzilla.org <> Date: Sat, 26 May 2007 04:42:53 +0000 (+0000) Subject: Bug 382037: Default CC is ignored when a bug is created via the webservice X-Git-Tag: bugzilla-3.1.2~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3588c7d3fb653675f169ef0ed57b0723f9061d23;p=thirdparty%2Fbugzilla.git Bug 382037: Default CC is ignored when a bug is created via the webservice Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e523621e0f..dcaef8004b 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -623,7 +623,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) {