Bug 39213: Force scalar on query param barcode

Test plan:
Read the patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Marcel de Rooy 2025-02-28 08:29:40 +00:00 committed by Katrin Fischer
parent 9f9d5ddff8
commit b816c790c8
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -46,7 +46,7 @@ my $op = $query->param('op') || q{};
my $biblionumber = $query->param('biblionumber');
# The barcode of the item to move
my $barcode = barcodedecode( $query->param('barcode') );
my $barcode = barcodedecode( scalar $query->param('barcode') );
my $biblio = Koha::Biblios->find($biblionumber);
$template->param( biblio => $biblio );