Bugzilla – Attachment 8494 Details for
Bug 7795
admin/authorised_values.pl: breaks with plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7795 - admin/authorised_values.pl breaks with plack
Bug-7795---adminauthorisedvaluespl-breaks-with-pla.patch (text/plain), 1.41 KB, created by
Dobrica Pavlinusic
on 2012-03-22 11:03:11 UTC
(
hide
)
Description:
Bug 7795 - admin/authorised_values.pl breaks with plack
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-03-22 11:03:11 UTC
Size:
1.41 KB
patch
obsolete
>From 4236afecaa04c032428e13019da0839c89162dfa Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Thu, 22 Mar 2012 12:01:06 +0100 >Subject: [PATCH] Bug 7795 - admin/authorised_values.pl breaks with plack > >scoping fixes for Variable "*" is not available errors >--- > admin/authorised_values.pl | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl >index 5282022..1545f0e 100755 >--- a/admin/authorised_values.pl >+++ b/admin/authorised_values.pl >@@ -45,14 +45,14 @@ sub AuthorizedValuesForCategory { > my $input = new CGI; > my $id = $input->param('id'); > my $op = $input->param('op') || ''; >-my $offset = $input->param('offset') || 0; >-my $searchfield = $input->param('searchfield'); >+our $offset = $input->param('offset') || 0; >+our $searchfield = $input->param('searchfield'); > $searchfield = '' unless defined $searchfield; > $searchfield =~ s/\,//g; >-my $script_name = "/cgi-bin/koha/admin/authorised_values.pl"; >-my $dbh = C4::Context->dbh; >+our $script_name = "/cgi-bin/koha/admin/authorised_values.pl"; >+our $dbh = C4::Context->dbh; > >-my ($template, $borrowernumber, $cookie)= get_template_and_user({ >+our ($template, $borrowernumber, $cookie)= get_template_and_user({ > template_name => "admin/authorised_values.tmpl", > authnotrequired => 0, > flagsrequired => {parameters => 1}, >-- >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 7795
:
8494
|
8560