diff options
author | Byron Jones <glob@mozilla.com> | 2014-08-27 08:26:58 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-08-27 08:26:58 +0200 |
commit | 020c0fab457181a1c131c9183accabaeec354ed3 (patch) | |
tree | a4430e59d83fa774261481be7062e16ac2fc99a8 /extensions | |
parent | e46f222d8f1f920e90479b99125fc965eb99e520 (diff) | |
download | bugzilla-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.pm | 2 |
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), |