Bugzilla – Attachment 8727 Details for
Bug 7859
members/pay.pl plack scoping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7859 - members/pay.pl plack scoping
Bug-7859---memberspaypl-plack-scoping.patch (text/plain), 2.36 KB, created by
Dobrica Pavlinusic
on 2012-03-30 22:22:30 UTC
(
hide
)
Description:
Bug 7859 - members/pay.pl plack scoping
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-03-30 22:22:30 UTC
Size:
2.36 KB
patch
obsolete
>From 490cd39ed66041643485aa9ec02d92821265f9e2 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Sat, 31 Mar 2012 00:19:24 +0200 >Subject: [PATCH] Bug 7859 - members/pay.pl plack scoping > >Variable "$borrowernumber" is not available at /srv/koha/members/pay.pl line 112. >Variable "$borrower" is not available at /srv/koha/members/pay.pl line 129. >Variable "$input" is not available at /srv/koha/members/pay.pl line 142. >Variable "$borrowernumber" is not available at /srv/koha/members/pay.pl line 157. >Variable "$user" is not available at /srv/koha/members/pay.pl line 171. >Variable "$input" is not available at /srv/koha/members/pay.pl line 172. >Variable "$input" is not available at /srv/koha/members/pay.pl line 181. >Variable "$borrowernumber" is not available at /srv/koha/members/pay.pl line 187. >Variable "$branch" is not available at /srv/koha/members/pay.pl line 187. >Variable "$borrowernumber" is not available at /srv/koha/members/pay.pl line 222. >Variable "$input" is not available at /srv/koha/members/pay.pl line 239. >Variable "$borrowernumber" is not available at /srv/koha/members/pay.pl line 246. >--- > members/pay.pl | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/members/pay.pl b/members/pay.pl >index fe1dc8c..8f5233c 100755 >--- a/members/pay.pl >+++ b/members/pay.pl >@@ -41,7 +41,7 @@ use C4::Overdues; > use C4::Branch; > use C4::Members::Attributes qw(GetBorrowerAttributes); > >-my $input = CGI->new; >+our $input = CGI->new; > > our ( $template, $loggedinuser, $cookie ) = get_template_and_user( > { template_name => 'members/pay.tmpl', >@@ -55,18 +55,18 @@ our ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > my @names = $input->param; > >-my $borrowernumber = $input->param('borrowernumber'); >+our $borrowernumber = $input->param('borrowernumber'); > if ( !$borrowernumber ) { > $borrowernumber = $input->param('borrowernumber0'); > } > > # get borrower details >-my $borrower = GetMember( borrowernumber => $borrowernumber ); >-my $user = $input->remote_user; >+our $borrower = GetMember( borrowernumber => $borrowernumber ); >+our $user = $input->remote_user; > $user ||= q{}; > > my $branches = GetBranches(); >-my $branch = GetBranch( $input, $branches ); >+our $branch = GetBranch( $input, $branches ); > > my $writeoff_item = $input->param('confirm_writeoff'); > my $paycollect = $input->param('paycollect'); >-- >1.7.2.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 7859
:
8727
|
8765