Bugzilla – Attachment 178813 Details for
Bug 39213
CGI::param called in list context from cataloguing/moveitem.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39213: Force scalar on query param barcode
Bug-39213-Force-scalar-on-query-param-barcode.patch (text/plain), 964 bytes, created by
Marcel de Rooy
on 2025-02-28 08:31:19 UTC
(
hide
)
Description:
Bug 39213: Force scalar on query param barcode
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-02-28 08:31:19 UTC
Size:
964 bytes
patch
obsolete
>From 1e2426f60273e6b5d1b03ca5dd8480a0f20e14bf Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 28 Feb 2025 08:29:40 +0000 >Subject: [PATCH] Bug 39213: Force scalar on query param barcode >Content-Type: text/plain; charset=utf-8 > >Test plan: >Read the patch. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > cataloguing/moveitem.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/cataloguing/moveitem.pl b/cataloguing/moveitem.pl >index 66a4489415..e7cb70c5cd 100755 >--- a/cataloguing/moveitem.pl >+++ b/cataloguing/moveitem.pl >@@ -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 ); >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39213
:
178813
|
178852