Bugzilla – Attachment 48071 Details for
Bug 14658
Split PatronSelfRegistrationBorrowerUnwantedField into two preferences for creating and editing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14658: Remove warning if prefs are not defined
Bug-14658-Remove-warning-if-prefs-are-not-defined.patch (text/plain), 986 bytes, created by
Jonathan Druart
on 2016-02-15 16:50:50 UTC
(
hide
)
Description:
Bug 14658: Remove warning if prefs are not defined
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-15 16:50:50 UTC
Size:
986 bytes
patch
obsolete
>From 6b2525ec952ddfcc290fae8e0b92e9dfd8af1f95 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 15 Feb 2016 16:49:32 +0000 >Subject: [PATCH] Bug 14658: Remove warning if prefs are not defined > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 c68951a..01dcb8d 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -258,7 +258,7 @@ sub GetHiddenFields { > C4::Context->preference( "PatronSelfModificationBorrowerUnwantedField" ) : > C4::Context->preference( "PatronSelfRegistrationBorrowerUnwantedField" ); > >- my @fields = split( /\|/, $BorrowerUnwantedField ); >+ my @fields = split( /\|/, $BorrowerUnwantedField || q|| ); > foreach (@fields) { > next unless m/\w/o; > #Don't hide mandatory fields >-- >2.7.0
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 14658
:
41643
|
42145
|
43041
|
45847
|
46074
|
46075
|
46235
|
46236
|
46237
|
46238
|
46352
|
47830
|
48069
|
48070
| 48071