Bugzilla – Attachment 51750 Details for
Bug 15823
Can still access patron discharge slip without having the syspref on - Permissions breach
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15823: Force scalar context
Bug-15823-Force-scalar-context.patch (text/plain), 1.03 KB, created by
Jonathan Druart
on 2016-05-24 19:46:54 UTC
(
hide
)
Description:
Bug 15823: Force scalar context
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-24 19:46:54 UTC
Size:
1.03 KB
patch
obsolete
>From 0fe1ac3b5752f71691ca55a587cf1428e2c5b0ce Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 May 2016 20:45:19 +0100 >Subject: [PATCH] Bug 15823: Force scalar context > >CGI->param must not be called in list context >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index b2bcdd1..ca55c9c 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -673,7 +673,7 @@ $template->param( > todaysdate => output_pref( { dt => dt_from_string()->set(hour => 23)->set(minute => 59), dateformat => 'sql' } ), > modifications => Koha::Patron::Modifications->GetModifications({ borrowernumber => $borrowernumber }), > override_high_holds => $override_high_holds, >- nopermission => $query->param('nopermission'), >+ nopermission => scalar $query->param('nopermission'), > ); > > output_html_with_http_headers $query, $cookie, $template->output; >-- >2.8.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 15823
:
48082
|
48095
|
48308
|
49181
|
50685
|
50707
|
50771
|
51121
|
51133
|
51229
|
51268
|
51269
|
51750