From d1df0ceb197e702716591c2494cb46fe04e13248 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 --- 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 5d8bf7edb7b..9b5f89b7d73 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