Bugzilla – Attachment 52089 Details for
Bug 16670
CGI->param used in list context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[3.22.x] Bug 16670: (bug 15823 follow-up) CGI->param should not be called in list context
Bug-16670-bug-15823-follow-up-CGI-param-should-not.patch (text/plain), 1.26 KB, created by
Nick Clemens
on 2016-06-06 15:53:03 UTC
(
hide
)
Description:
[3.22.x] Bug 16670: (bug 15823 follow-up) CGI->param should not be called in list context
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-06-06 15:53:03 UTC
Size:
1.26 KB
patch
obsolete
>From b9b3ca55e946b81006f7e695e94af08ba5f422c5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 6 Jun 2016 13:34:45 +0100 >Subject: [PATCH] Bug 16670: (bug 15823 follow-up) CGI->param should not be > called in list context > >This patch will remove the following warning "Staff members >are not allowed to discharge borrowers, nor borrowers to request a >discharge." in 3.22.x branches > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index c421085..4405732 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -615,7 +615,7 @@ $template->param( > canned_bor_notes_loop => $canned_notes, > debarments => GetDebarments({ borrowernumber => $borrowernumber }), > todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), >- nopermission => $query->param('nopermission'), >+ nopermission => scalar $query->param('nopermission'), > modifications => Koha::Borrower::Modifications->GetModifications({ borrowernumber => $borrowernumber }), > ); > >-- >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 16670
:
52076
|
52077
| 52089 |
52090
|
52093