From ca0c43b56b596d14b6509307e686a09b48ea3de1 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 Signed-off-by: Victor Grousset --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 98a0fe6..9e8b3cf 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.7.4