From: mkanat%bugzilla.org <> Date: Sat, 26 May 2007 04:47:24 +0000 (+0000) Subject: Bug 382037: Default CC is ignored when creating a bug via the webservice X-Git-Tag: bugzilla-3.0.1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59ca770011c87e2e5384cdec7400636db3e879ff;p=thirdparty%2Fbugzilla.git Bug 382037: Default CC is ignored when creating a bug via the webservice Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 8591a2f890..ba96cb85e0 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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) {