From b2e3525fb1d349fda249a359a55b193bbbc72e03 Mon Sep 17 00:00:00 2001
From: Josef Moravec <josef.moravec@gmail.com>
Date: Thu, 18 Apr 2019 07:21:09 +0000
Subject: [PATCH] Bug 16284: Use new method to determine serials in check
 previous checkouts

---
 Koha/Patron.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Koha/Patron.pm b/Koha/Patron.pm
index 670065f478..efb5a84e9c 100644
--- a/Koha/Patron.pm
+++ b/Koha/Patron.pm
@@ -551,7 +551,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.11.0