From 0d89c302bc4372aedc5d11b1c3978a57012ecd02 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 --- admin/branches.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/branches.pl b/admin/branches.pl index a655fc6..e5b2f52 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.7.0