diff options
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index f988defd6..0f3451e44 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -203,7 +203,8 @@ sub object_end_of_create { sub object_end_of_update { my ($self, $args) = @_; my $object = $args->{object}; - return unless $object->isa('Bugzilla::Flag') + return unless exists $args->{changes}->{requestee_id} + && $object->isa('Bugzilla::Flag') && $object->type->name eq 'needinfo' && $object->requestee; _check_requestee($object->requestee); |