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:
parent
9f9d5ddff8
commit
b816c790c8
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue