Skip to content

Commit

Permalink
Bug 1059085: Unable to update a product's group controls: Can't use s…
Browse files Browse the repository at this point in the history
…tring ("table") as an ARRAY ref while "strict refs" in use
  • Loading branch information
globau committed Aug 27, 2014
1 parent e46f222 commit 020c0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/Review/Extension.pm
Expand Up @@ -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),
Expand Down

0 comments on commit 020c0fa

Please sign in to comment.