From 32b3379051bf6be09336a626573723b3ebaafbcc 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 918b10c..3e92015 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.1.4