Bugzilla – Attachment 43052 Details for
Bug 14739
Add several patrons to a new batch will create a new batch per patron added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 14739: Fix plack compatibility
SIGNED-OFF-Bug-14739-Fix-plack-compatibility.patch (text/plain), 1.52 KB, created by
Josef Moravec
on 2015-10-02 09:22:36 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 14739: Fix plack compatibility
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2015-10-02 09:22:36 UTC
Size:
1.52 KB
patch
obsolete
>From 4f65d2f7a1204d4517dbbc132bc48bd08dc824df Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 2 Oct 2015 09:51:07 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 14739: Fix plack compatibility > >perlcritic raised "Declare variables outside of the condition" > >Works as expected >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > patroncards/edit-batch.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl >index f9227c3..1b91348 100755 >--- a/patroncards/edit-batch.pl >+++ b/patroncards/edit-batch.pl >@@ -54,9 +54,10 @@ my $display_columns = [ {_card_number => {label => 'Card Number', link_field = > ]; > my $op = $cgi->param('op') || 'new'; > my $batch_id = $cgi->param('element_id') || $cgi->param('batch_id') || undef; >-my @label_ids = $cgi->param('label_id') if $cgi->param('label_id'); >-my @item_numbers = $cgi->param('item_number') if $cgi->param('item_number'); >-my @borrower_numbers = $cgi->param('borrower_number') if $cgi->param('borrower_number'); >+my ( @label_ids, @item_numbers, @borrower_numbers ); >+@label_ids = $cgi->param('label_id') if $cgi->param('label_id'); >+@item_numbers = $cgi->param('item_number') if $cgi->param('item_number'); >+@borrower_numbers = $cgi->param('borrower_number') if $cgi->param('borrower_number'); > my $errstr = $cgi->param('error') || ''; > my $bor_num_list = $cgi->param('bor_num_list') || undef; > my $branch_code = C4::Context->userenv->{'branch'}; >-- >2.1.4
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 14739
:
42421
|
42445
|
42473
|
42474
|
42623
|
42965
|
43034
|
43038
|
43040
|
43050
|
43052
|
43060
|
43061
|
43062
|
43063
|
43107
|
43108
|
43109
|
44663