From 83da2adc7283408bb0e4a9c57b5f52ff3f4cee34 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 --- 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 5d8bf7edb7..9b5f89b7d7 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