From 07331dfe792c95197812259177858da235c8135a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 28 Jun 2022 10:38:42 +0200 Subject: [PATCH] Bug 32030: Allow syspref to be read from the config Trick, because of bug 31042 Signed-off-by: Jonathan Field Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- Koha/ERM/Providers/EBSCO.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/ERM/Providers/EBSCO.pm b/Koha/ERM/Providers/EBSCO.pm index bbac755ab9..7df6569b07 100644 --- a/Koha/ERM/Providers/EBSCO.pm +++ b/Koha/ERM/Providers/EBSCO.pm @@ -17,8 +17,8 @@ sub new { sub config { return { - custid => C4::Context->preference('ERMProviderEbscoCustomerID'), - api_key => C4::Context->preference('ERMProviderEbscoApiKey'), + custid => C4::Context->preference('ERMProviderEbscoCustomerID') || C4::Context->config('ERMProviderEbscoCustomerID'), + api_key => C4::Context->preference('ERMProviderEbscoApiKey') || C4::Context->config('ERMProviderEbscoApiKey'), }; } -- 2.39.5