summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),