From 38c4837c2414d7479009ff28e86fbdbe40901ef1 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 4 Oct 2022 21:23:57 +0000 Subject: [PATCH] Bug 31682: Silence automatic linker warn To test: 1. Open the plack-intranet-error.log in your terminal 2. When editing or adding a bibliographic record, click the button to link authorities automatically. 3. Notice the warn in the log 4. Apply the patch, restart services and refresh the page 5. Click the button again. There should be no warn Sponsored-by: Catalyst IT Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- svc/cataloguing/automatic_linker.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/cataloguing/automatic_linker.pl b/svc/cataloguing/automatic_linker.pl index 228e01f402..c132fe2473 100755 --- a/svc/cataloguing/automatic_linker.pl +++ b/svc/cataloguing/automatic_linker.pl @@ -51,7 +51,7 @@ my $record = TransformHtmlToMarc($input,1); my ( $headings_changed, $results ) = BiblioAutoLink ( $record, - $input->param('frameworkcode'), + scalar $input->param('frameworkcode'), 1 ); -- 2.39.5