Bugzilla – Attachment 128908 Details for
Bug 29771
Get rid of CGI::param in list context warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29771: Remove warning from acqui/finishreceive.pl
Bug-29771-Remove-warning-from-acquifinishreceivepl.patch (text/plain), 1.29 KB, created by
Tomás Cohen Arazi
on 2021-12-23 19:19:25 UTC
(
hide
)
Description:
Bug 29771: Remove warning from acqui/finishreceive.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2021-12-23 19:19:25 UTC
Size:
1.29 KB
patch
obsolete
>From 2eacc375554e5adad27ee3eaaf9f1fe04fa75ba7 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 23 Dec 2021 16:16:58 -0300 >Subject: [PATCH] Bug 29771: Remove warning from acqui/finishreceive.pl > >This patch removes a warning that shows when receiving. > >To test: >1. Do the acq workflow up to the receive step. >2. Once you choose the items and click on Finish >=> FAIL: There's a warning in the logs >3. Revert receipt >4. Apply this patch >5. Receive >=> SUCCESS: No more warnings >6. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > acqui/finishreceive.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl >index 94b73d53a4..c2d51686eb 100755 >--- a/acqui/finishreceive.pl >+++ b/acqui/finishreceive.pl >@@ -80,7 +80,7 @@ my $basket = $order_obj->basket; > if ($quantityrec > $origquantityrec ) { > my @received_items = (); > if ($basket->effective_create_items eq 'ordering') { >- @received_items = $input->param('items_to_receive'); >+ @received_items = $input->multi_param('items_to_receive'); > my @affects = split q{\|}, C4::Context->preference("AcqItemSetSubfieldsWhenReceived"); > if ( @affects ) { > my $frameworkcode = GetFrameworkCode($biblionumber); >-- >2.32.0
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 29771
:
128908
|
128909
|
128910
|
131129
|
131130
|
131187
|
131188