From 8437e95faad4a2ad8622067b3ad1a5e00a5084fc Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 18 Apr 2019 07:21:09 +0000 Subject: [PATCH] Bug 16284: Use new method to determine serials in check previous checkouts Signed-off-by: Michal Denar Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index bbacd94f22..d13d27d2af 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -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. -- 2.39.5