Bugzilla – Attachment 128907 Details for
Bug 29758
CGI::param in list context in boraccount.pl warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29758: Get rid of warning in members/boraccount.pl
Bug-29758-Get-rid-of-warning-in-membersboraccountp.patch (text/plain), 1.36 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-12-23 18:54:47 UTC
(
hide
)
Description:
Bug 29758: Get rid of warning in members/boraccount.pl
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-12-23 18:54:47 UTC
Size:
1.36 KB
patch
obsolete
>From abeba05633fe08c9bdd836bf0de478efae83d5af Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 23 Dec 2021 15:51:52 -0300 >Subject: [PATCH] Bug 29758: Get rid of warning in members/boraccount.pl > >This patch removes a noisy warning found in production logs. > >To test: >1. Run: > $ tail -f /var/log/koha/kohadev/plack-intranet-error.log >2. Open the 'Accounting' tab for a patron, then click on 'Transactions' >=> FAIL: You see this kind of warning in the logs: > >[WARN] CGI::param called in list context from... >3. Apply this patch >4. Repeat 2 (change tab and go back) >=> SUCCESS: No more warning! >5. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > members/boraccount.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/boraccount.pl b/members/boraccount.pl >index b28e665904..303fdb9c18 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -54,7 +54,7 @@ my $borrowernumber = $input->param('borrowernumber'); > my $payment_id = $input->param('payment_id'); > my $change_given = $input->param('change_given'); > my $action = $input->param('action') || ''; >-my @renew_results = $input->param('renew_result'); >+my @renew_results = $input->multi_param('renew_result'); > > my $logged_in_user = Koha::Patrons->find( $loggedinuser ); > my $library_id = C4::Context->userenv->{'branch'}; >-- >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 29758
:
128907
|
128940
|
129192