From cd38080ac485e7b2c176c2d4cb9ec23bea8fe997 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 30 Jan 2020 10:51:51 +0100 Subject: [PATCH] Bug 24542: (bug 23049 follow-up) Add missing use statement in Koha::Account Fix the following error when an item is checked out and that ManInvInNoissuesCharge is turned off: Can't locate object method "search" via package "Koha::Account::DebitTypes" Test plan: 0/ Turn off ManInvInNoissuesCharge 1/ Check an item out Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- Koha/Account.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Account.pm b/Koha/Account.pm index b120faee0f..ae6bebbb7a 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -32,6 +32,7 @@ use C4::Stats qw( UpdateStats ); use Koha::Patrons; use Koha::Account::Lines; use Koha::Account::Offsets; +use Koha::Account::DebitTypes; use Koha::DateUtils qw( dt_from_string ); use Koha::Exceptions; use Koha::Exceptions::Account; -- 2.39.5