diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-09-29 01:25:47 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-09-29 01:25:47 +0200 |
commit | dd832b2728550c696a324d74a3a0013e87d8f5c8 (patch) | |
tree | 0e0e704c1f7d21f4d65d8b11525d55daf95edf80 /Bugzilla/Product.pm | |
parent | Bug 512648 - Make Bugzilla::Bug centrally control available statuses in (diff) | |
download | bugzilla-dd832b2728550c696a324d74a3a0013e87d8f5c8.tar.gz bugzilla-dd832b2728550c696a324d74a3a0013e87d8f5c8.tar.bz2 bugzilla-dd832b2728550c696a324d74a3a0013e87d8f5c8.zip |
Bug 686786: Decreasing votestoconfirm in editproducts.cgi crashes Bugzilla
r/a=mkanat
Diffstat (limited to 'Bugzilla/Product.pm')
-rw-r--r-- | Bugzilla/Product.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 64a146be9..486d177c7 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -223,7 +223,7 @@ sub update { $new_setting->{group}->name, Bugzilla->user->id, $timestamp); } - push(@{$changes->{'group_controls'}->{'now_mandatory'}}, + push(@{$changes->{'_group_controls'}->{'now_mandatory'}}, {name => $new_setting->{group}->name, bug_count => scalar @$bug_ids}); } @@ -248,7 +248,7 @@ sub update { $old_setting->{group}->name, '', Bugzilla->user->id, $timestamp); } - push(@{$changes->{'group_controls'}->{'now_na'}}, + push(@{$changes->{'_group_controls'}->{'now_na'}}, {name => $old_setting->{group}->name, bug_count => scalar @$bug_ids}); } |