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 <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Aleisha Amohia 2022-10-04 21:23:57 +00:00 committed by Tomas Cohen Arazi
parent b28a97fbe9
commit 38c4837c24
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ my $record = TransformHtmlToMarc($input,1);
my ( $headings_changed, $results ) = BiblioAutoLink (
$record,
$input->param('frameworkcode'),
scalar $input->param('frameworkcode'),
1
);