From ed882397da52b09be56e61567ed1c59fc8b12552 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 15 Jan 2016 18:38:03 +0000 Subject: [PATCH] Bug 15548 [QA Followup] - Catch a couple new Koha::Borrower uses Signed-off-by: Kyle M Hall Signed-off-by: Jesse Weaver --- admin/branches.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/branches.pl b/admin/branches.pl index a655fc61a4..e5b2f52332 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -24,7 +24,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Koha; -use Koha::Borrowers; +use Koha::Patrons; use Koha::Items; use Koha::Libraries; use Koha::LibraryCategories; @@ -122,7 +122,7 @@ if ( $op eq 'add_form' ) { }, } )->count; - my $patrons_count = Koha::Borrowers->search( { branchcode => $branchcode, } )->count; + my $patrons_count = Koha::Patrons->search( { branchcode => $branchcode, } )->count; if ( $items_count or $patrons_count ) { push @messages, -- 2.39.5