From 95ea7ec1b6746999c7e94e154c08a0e5660d4c5a 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 (cherry picked from commit 38c4837c2414d7479009ff28e86fbdbe40901ef1) Signed-off-by: Lucas Gass Signed-off-by: Lucas Gass (cherry picked from commit 8db2853d2886a979c92272b2f53bec4fc4819e0d) Signed-off-by: Arthur Suzuki --- 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