Bug 23413: Remove wrong return
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
1c34a54a0e
commit
facd6cc041
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue