Bugzilla – Attachment 116497 Details for
Bug 27604
PatronSelfRegistrationLibraryList can be bypassed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27604: Init to {}
Bug-27604-Init-to-.patch (text/plain), 851 bytes, created by
Jonathan Druart
on 2021-02-08 13:43:44 UTC
(
hide
)
Description:
Bug 27604: Init to {}
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-02-08 13:43:44 UTC
Size:
851 bytes
patch
obsolete
>From e511b3eac16e3ec9dfb7735484c0cfc345d4fb70 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 Feb 2021 14:43:27 +0100 >Subject: [PATCH] Bug 27604: Init to {} > >--- > opac/opac-memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 5c9fe6120b..d11ae31925 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -75,7 +75,7 @@ if ( $action eq q{} ) { > > my $mandatory = GetMandatoryFields($action); > >-my $params = undef; >+my $params = {}; > if ( $action eq 'create' || $action eq 'new' ) { > my @PatronSelfRegistrationLibraryList = split '\|', C4::Context->preference('PatronSelfRegistrationLibraryList'); > $params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } }; >-- >2.20.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 27604
:
116271
|
116286
|
116424
|
116425
| 116497 |
116907
|
117020