Bug 16284: Use new method to determine serials in check previous checkouts

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Josef Moravec 2019-04-18 07:21:09 +00:00 committed by Martin Renvoize
parent 838831b1f7
commit 8437e95faa
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ sub do_check_for_previous_checkout {
my @item_nos;
my $biblio = Koha::Biblios->find( $item->{biblionumber} );
if ( $biblio->serial ) {
if ( $biblio->is_serial ) {
push @item_nos, $item->{itemnumber};
} else {
# Get all itemnumbers for given bibliographic record.