From a46f8a097412b28df268dc6e043cf39464a5678d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Apr 2022 11:35:41 +0200 Subject: [PATCH] Bug 29859: Fix BatchUpdateAuthority Use of inherited AUTOLOAD for non-method Koha::BackgroundJob::BatchUpdateAuthority::ModAuthority() is no longer allowed 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 482acf892c..a8b4c858e6 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