Bug 14658: Remove warning if prefs are not defined
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
a44859d082
commit
4e9b187c14
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue