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:
parent
453a8d5951
commit
f6ec642559
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue