From 3588c7d3fb653675f169ef0ed57b0723f9061d23 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 26 May 2007 04:42:53 +0000 Subject: Bug 382037: Default CC is ignored when a bug is created via the webservice Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index e523621e0..dcaef8004 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) { -- cgit v1.2.3-24-g4f1b