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>
(cherry picked from commit b816c790c8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Marcel de Rooy 2025-02-28 08:29:40 +00:00 committed by Fridolin Somers
parent 453a8d5951
commit f6ec642559
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ my $op = $query->param('op') || q{};
# The biblio to move the item to
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);