Bugzilla – Attachment 8562 Details for
Bug 7797
admin/currency.pl needs scoping for plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-Off] Bug 7797 - admin/currency.pl needs scoping for plack
Signed-Off-Bug-7797---admincurrencypl-needs-scopin.patch (text/plain), 1.46 KB, created by
Alex Arnaud
on 2012-03-23 10:03:32 UTC
(
hide
)
Description:
[Signed-Off] Bug 7797 - admin/currency.pl needs scoping for plack
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2012-03-23 10:03:32 UTC
Size:
1.46 KB
patch
obsolete
>From e9520ac6dd9e6d099584474407a79bff1f98700b Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Thu, 22 Mar 2012 12:53:13 +0100 >Subject: [PATCH] [Signed-Off] Bug 7797 - admin/currency.pl needs scoping for plack > >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> >--- > admin/currency.pl | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/admin/currency.pl b/admin/currency.pl >index 1e3f160..e24f6b6 100755 >--- a/admin/currency.pl >+++ b/admin/currency.pl >@@ -46,14 +46,14 @@ use C4::Dates qw(format_date); > use C4::Output; > use C4::Budgets qw/GetCurrency GetCurrencies/; > >-my $input = CGI->new; >+our $input = CGI->new; > my $searchfield = $input->param('searchfield') || $input->param('description') || q{}; >-my $offset = $input->param('offset') || 0; >+our $offset = $input->param('offset') || 0; > my $op = $input->param('op') || q{}; > my $script_name = '/cgi-bin/koha/admin/currency.pl'; >-my $pagesize = 20; >+our $pagesize = 20; > >-my ($template, $loggedinuser, $cookie) = get_template_and_user({ >+our ($template, $loggedinuser, $cookie) = get_template_and_user({ > template_name => 'admin/currency.tmpl', > query => $input, > type => 'intranet', >@@ -67,7 +67,7 @@ $searchfield=~ s/\,//g; > $template->param(searchfield => $searchfield, > script_name => $script_name); > >-my $dbh = C4::Context->dbh; >+our $dbh = C4::Context->dbh; > > if ( $op eq 'add_form' ) { > add_form($searchfield); >-- >1.7.4.1
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 7797
:
8503
| 8562