summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-05-26 06:42:53 +0200
committermkanat%bugzilla.org <>2007-05-26 06:42:53 +0200
commit3588c7d3fb653675f169ef0ed57b0723f9061d23 (patch)
tree1514f1f085f9d8be87b6c53e90e35d9e992f6398 /Bugzilla
parent23c0a8a13502201d01354e9262fa30c45d56ddd7 (diff)
downloadbugzilla-3588c7d3fb653675f169ef0ed57b0723f9061d23.tar.gz
bugzilla-3588c7d3fb653675f169ef0ed57b0723f9061d23.tar.xz
Bug 382037: Default CC is ignored when a bug is created via the webservice
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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) {