From 1b0a4a71ea580c51111c333c94398ef1557a4e16 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Apr 2022 11:35:41 +0200 Subject: [PATCH] Bug 30461: Fix BatchUpdateAuthority MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use of inherited AUTOLOAD for non-method Koha::BackgroundJob::BatchUpdateAuthority::ModAuthority() is no longer allowed Test plan: Use the batch authority tools to edit authority record and confirm that the task processes correctly Signed-off-by: Joonas Kylmälä Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall --- Koha/BackgroundJob/BatchUpdateAuthority.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/BackgroundJob/BatchUpdateAuthority.pm b/Koha/BackgroundJob/BatchUpdateAuthority.pm index 9eacf58a5f..09294a0856 100644 --- a/Koha/BackgroundJob/BatchUpdateAuthority.pm +++ b/Koha/BackgroundJob/BatchUpdateAuthority.pm @@ -19,7 +19,7 @@ use Modern::Perl; use JSON qw( decode_json encode_json ); use C4::MarcModificationTemplates qw( ModifyRecordWithTemplate ); -use C4::AuthoritiesMarc; +use C4::AuthoritiesMarc qw( ModAuthority ); use Koha::BackgroundJobs; use Koha::DateUtils qw( dt_from_string ); use Koha::MetadataRecord::Authority; -- 2.39.5