From 3281cf458c002c1004acb53c13fd2c70408928a9 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 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 --- 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 482acf892cf..a8b4c858e6f 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.25.1