Bug 23413: Remove wrong return

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2019-10-24 15:40:47 +00:00 committed by Martin Renvoize
parent 1c34a54a0e
commit facd6cc041
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 0 additions and 1 deletions

View File

@ -140,7 +140,6 @@ Return holds attached to an item, optionally accept a hashref of params to pass
sub holds {
my ( $self,$params ) = @_;
my $holds_rs = $self->_result->reserves->search($params);
return unless $holds_rs->count;
return Koha::Holds->_new_from_dbic( $holds_rs );
}