Bugzilla – Attachment 8560 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]
[Signed-Off] Bug 7795 - admin/authorised_values.pl breaks with plack
Signed-Off-Bug-7795---adminauthorisedvaluespl-brea.patch (text/plain), 1.48 KB, created by
Alex Arnaud
on 2012-03-23 09:54:29 UTC
(
hide
)
Description:
[Signed-Off] Bug 7795 - admin/authorised_values.pl breaks with plack
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2012-03-23 09:54:29 UTC
Size:
1.48 KB
patch
obsolete
>From 0b55d681da19b2662f004520c583b4bdb0ce9372 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Thu, 22 Mar 2012 12:01:06 +0100 >Subject: [PATCH] [Signed-Off] Bug 7795 - admin/authorised_values.pl breaks with plack > >scoping fixes for Variable "*" is not available errors > >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> >--- > 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.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 7795
:
8494
| 8560