Bugzilla – Attachment 58299 Details for
Bug 17692
Can't add library EAN under Plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17692: Remove 'CGI::param called in list context' warnings
Bug-17692-Remove-CGIparam-called-in-list-context-w.patch (text/plain), 2.10 KB, created by
Jonathan Druart
on 2016-12-20 14:31:42 UTC
(
hide
)
Description:
Bug 17692: Remove 'CGI::param called in list context' warnings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-12-20 14:31:42 UTC
Size:
2.10 KB
patch
obsolete
>From 567a1a0ad1cb13a298a078f0d22b0b62324d49f2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 20 Dec 2016 14:29:49 +0000 >Subject: [PATCH] Bug 17692: Remove 'CGI::param called in list context' > warnings > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > admin/edi_ean_accounts.pl | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/admin/edi_ean_accounts.pl b/admin/edi_ean_accounts.pl >index 0450e2e..d6e8d95 100755 >--- a/admin/edi_ean_accounts.pl >+++ b/admin/edi_ean_accounts.pl >@@ -69,20 +69,20 @@ else { > if ($change) { > $schema->resultset('EdifactEan')->find($id)->update( > { >- branchcode => $input->param('branchcode'), >- description => $input->param('description'), >- ean => $input->param('ean'), >- id_code_qualifier => $input->param('id_code_qualifier'), >+ branchcode => scalar $input->param('branchcode'), >+ description => scalar $input->param('description'), >+ ean => scalar $input->param('ean'), >+ id_code_qualifier => scalar $input->param('id_code_qualifier'), > } > ); > } > else { > my $new_ean = $schema->resultset('EdifactEan')->new( > { >- branchcode => $input->param('branchcode'), >- description => $input->param('description'), >- ean => $input->param('ean'), >- id_code_qualifier => $input->param('id_code_qualifier'), >+ branchcode => scalar $input->param('branchcode'), >+ description => scalar $input->param('description'), >+ ean => scalar $input->param('ean'), >+ id_code_qualifier => scalar $input->param('id_code_qualifier'), > } > ); > $new_ean->insert(); >-- >2.9.3
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 17692
:
58200
|
58236
|
58298
| 58299