summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-08-27 08:26:58 +0200
committerByron Jones <glob@mozilla.com>2014-08-27 08:26:58 +0200
commit020c0fab457181a1c131c9183accabaeec354ed3 (patch)
treea4430e59d83fa774261481be7062e16ac2fc99a8 /extensions
parente46f222d8f1f920e90479b99125fc965eb99e520 (diff)
downloadbugzilla-020c0fab457181a1c131c9183accabaeec354ed3.tar.gz
bugzilla-020c0fab457181a1c131c9183accabaeec354ed3.tar.xz
Bug 1059085: Unable to update a product's group controls: Can't use string ("table") as an ARRAY ref while "strict refs" in use
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Review/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm
index cf2bc532e..78e19f9b7 100644
--- a/extensions/Review/Extension.pm
+++ b/extensions/Review/Extension.pm
@@ -328,7 +328,7 @@ sub object_end_of_update {
my ($self, $args) = @_;
my ($object, $old_object, $changes) = @$args{qw(object old_object changes)};
- if ($object->isa('Bugzilla::Product')) {
+ if ($object->isa('Bugzilla::Product') && exists Bugzilla->input_params->{reviewers}) {
my $diff = $self->_update_user_table({
object => $object,
old_users => $old_object->reviewers_objs(1),