From f140eac24ac385d41c8ac55495244dc8df4d504f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 31 Jul 2018 12:36:35 -0300 Subject: [PATCH] Bug 21133: Add missing use C4::Accounts statement in Koha/Patron.pm It's a follow-up of commit 9c6f634469de4364d71bc0eb7520d04ead61fd00 Bug 16912: Koha::Patrons - Move AddEnrolmentFeeIfNeeded to->add_enrolment_fee_if_needed One of the known issue: > update categories set enrolmentfee=2; The use misc/devel/create_superlibrarian.pl to create a new superlibrarian patron --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 98a0fe6938..9e8b3cfefd 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -26,6 +26,7 @@ use JSON qw( to_json ); use Module::Load::Conditional qw( can_load ); use Text::Unaccent qw( unac_string ); +use C4::Accounts; use C4::Context; use C4::Log; use Koha::AuthUtils; -- 2.11.0